Skip to content

Commit

Permalink
v3.1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
steve02081504 committed Jan 2, 2024
1 parent 26c7664 commit 6d8bd96
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ var {jsstp}=require('jsstp');
或者你是怀旧党,你可以通过cdn访问jsstp的源码

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.min.js"></script>
```

或者在js中动态载入jsstp

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.mjs");
```

##### 类型定义
Expand Down
4 changes: 2 additions & 2 deletions docs/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ var {jsstp}=require('jsstp');
或者你是怀旧党,你可以通过cdn访问jsstp的源码

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.min.js"></script>
```

或者在js中动态载入jsstp

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.mjs");
```

##### 类型定义
Expand Down
4 changes: 2 additions & 2 deletions docs/README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ var jsstp=require('jsstp');
If you're a nostalgist, you can access jsstp's source code via CDN.

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.min.js"></script>
```

Or load jsstp dynamically in js.

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.mjs");
```

##### type definition
Expand Down
4 changes: 2 additions & 2 deletions docs/README_JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ var {jsstp}=require('jsstp');
あるいは、古式ゆかしい方法で、cdn経由でjsstpのソースコードにアクセスすることができます。

```html
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.min.js"></script>
```

jsstpをjsで動的に読み込むこともできます。

```javascript
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.mjs");
var {jsstp}=await import("https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.mjs");
```

##### 型定義
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsstp",
"version": "3.0.1",
"version": "3.1.0",
"description": "Use js to communicate with ukagaka to exchange information.",
"main": "dist/jsstp.mjs",
"types": "dist/cn/jsstp.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions userscripts/web_ukagaka.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// ==UserScript==
// @name Web Ukagaka
// @namespace https://github.com/ukatech/jsstp-lib
// @version 0.0.0.7
// @version 0.0.0.8
// @description try to take over the world!
// @author steve02081504
// @match *://*/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=shillest.net
// @require https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.0.0.1/dist/jsstp.min.js
// @require https://cdn.jsdelivr.net/gh/ukatech/jsstp-lib@v3.1.0.0/dist/jsstp.min.js
// @grant window.onurlchange
// @grant GM.setValue
// @grant GM.getValue
Expand Down

0 comments on commit 6d8bd96

Please sign in to comment.