@inclavare-containers/tng 2.6.0 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,10 +8,15 @@ The TNG Client JavaScript SDK provides client functionality for use in browser e
8
8
 
9
9
  You can obtain the TNG SDK in two ways:
10
10
 
11
- ### 1. Download from GitHub Packages
11
+ ### 1. Install a pre-built package
12
12
 
13
- Download the precompiled npm package directly from the GitHub Packages page:
14
- [https://github.com/inclavare-containers/TNG/pkgs/npm/tng](https://github.com/inclavare-containers/TNG/pkgs/npm/tng)
13
+ Install directly from npm:
14
+
15
+ ```bash
16
+ npm install @inclavare-containers/tng
17
+ ```
18
+
19
+ Alternatively, download from [GitHub Packages](https://github.com/inclavare-containers/TNG/pkgs/npm/tng).
15
20
 
16
21
  ### 2. Build from Source
17
22
 
@@ -80,7 +85,7 @@ The resulting `tar.gz` file will be placed in the `./tng-wasm/pkg/` directory, w
80
85
  ### Install the SDK to Your Project
81
86
 
82
87
  ```bash
83
- npm install tng-<version>.tgz
88
+ npm install @inclavare-containers/tng
84
89
  ```
85
90
 
86
91
  ### Integrate the SDK in Your HTML
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Kun Lai <laikun@linux.alibaba.com>"
6
6
  ],
7
- "version": "2.6.0",
7
+ "version": "2.7.1",
8
8
  "license": "Apache-2.0",
9
9
  "repository": {
10
10
  "type": "git",
package/tng_wasm.js CHANGED
@@ -853,22 +853,22 @@ function __wbg_get_imports(memory) {
853
853
  return ret;
854
854
  },
855
855
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
856
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1818, function: Function { arguments: [], shim_idx: 1819, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
856
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1814, function: Function { arguments: [], shim_idx: 1815, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
857
857
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h608d62b8eccc8f6e, wasm_bindgen__convert__closures_____invoke__h7938576e03ec4167);
858
858
  return ret;
859
859
  },
860
860
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
861
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2163, function: Function { arguments: [Externref], shim_idx: 2164, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
861
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2159, function: Function { arguments: [Externref], shim_idx: 2160, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
862
862
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hbb5960641dfaf99a, wasm_bindgen__convert__closures_____invoke__hdfdaa0711fe9a60e);
863
863
  return ret;
864
864
  },
865
865
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
866
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2180, function: Function { arguments: [Externref], shim_idx: 2183, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
866
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2176, function: Function { arguments: [Externref], shim_idx: 2179, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
867
867
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2925d4d1c19a6d50, wasm_bindgen__convert__closures_____invoke__h38253c4a1aa54e27);
868
868
  return ret;
869
869
  },
870
870
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
871
- // Cast intrinsic for `Closure(Closure { dtor_idx: 2180, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2181, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
871
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2176, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 2177, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
872
872
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2925d4d1c19a6d50, wasm_bindgen__convert__closures_____invoke__hfa390009d5ba6f84);
873
873
  return ret;
874
874
  },
package/tng_wasm_bg.wasm CHANGED
Binary file