@kynesyslabs/demosdk 2.10.2 → 2.11.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/build/abstraction/Identities.d.ts +47 -1
- package/build/abstraction/Identities.js +169 -0
- package/build/abstraction/Identities.js.map +1 -1
- package/build/abstraction/index.d.ts +2 -2
- package/build/abstraction/index.js.map +1 -1
- package/build/types/abstraction/index.d.ts +39 -1
- package/build/types/blockchain/GCREdit.d.ts +3 -3
- package/build/types/blockchain/Transaction.d.ts +3 -2
- package/build/types/blockchain/Transaction.js.map +1 -1
- package/build/types/blockchain/TransactionSubtypes/TokenTransaction.d.ts +162 -0
- package/build/types/blockchain/TransactionSubtypes/TokenTransaction.js +48 -0
- package/build/types/blockchain/TransactionSubtypes/TokenTransaction.js.map +1 -0
- package/build/types/blockchain/TransactionSubtypes/index.d.ts +4 -1
- package/build/types/blockchain/TransactionSubtypes/index.js +2 -0
- package/build/types/blockchain/TransactionSubtypes/index.js.map +1 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.js +4 -0
- package/build/types/index.js.map +1 -1
- package/build/types/token/TokenTypes.d.ts +189 -0
- package/build/types/token/TokenTypes.js +12 -0
- package/build/types/token/TokenTypes.js.map +1 -0
- package/build/types/token/TokenUtils.d.ts +95 -0
- package/build/types/token/TokenUtils.js +262 -0
- package/build/types/token/TokenUtils.js.map +1 -0
- package/build/types/token/index.d.ts +7 -0
- package/build/types/token/index.js +18 -0
- package/build/types/token/index.js.map +1 -0
- package/build/websdk/DemosTokens.d.ts +186 -0
- package/build/websdk/DemosTokens.js +338 -0
- package/build/websdk/DemosTokens.js.map +1 -0
- package/build/websdk/GCRGeneration.js +5 -0
- package/build/websdk/GCRGeneration.js.map +1 -1
- package/build/websdk/index.d.ts +1 -0
- package/build/websdk/index.js +2 -0
- package/build/websdk/index.js.map +1 -1
- package/package.json +3 -1
package/build/websdk/index.js
CHANGED
|
@@ -16,4 +16,6 @@ export * as skeletons from "./utils/skeletons.js";
|
|
|
16
16
|
export { uint8ArrayToHex, hexToUint8Array } from "../encryption/unifiedCrypto.js";
|
|
17
17
|
// Bridge
|
|
18
18
|
export { RubicBridge } from "./bridge.js";
|
|
19
|
+
// REVIEW: Token operations utility class
|
|
20
|
+
export { DemosTokens, createTokensClient } from "./DemosTokens.js";
|
|
19
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/websdk/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,eAAe,GAClB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AACvE,QAAQ;AACR,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAA;AAE9C,2CAA2C;AAC3C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE9E,SAAS;AACT,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/websdk/index.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,EACH,cAAc,EACd,gBAAgB,EAChB,eAAe,GAClB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AACvE,QAAQ;AACR,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,KAAK,SAAS,MAAM,mBAAmB,CAAA;AAE9C,2CAA2C;AAC3C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE9E,SAAS;AACT,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEtC,yCAAyC;AACzC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kynesyslabs/demosdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Demosdk is a JavaScript/TypeScript SDK that provides a unified interface for interacting with Demos network",
|
|
6
6
|
"main": "build/index.js",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"setup:hooks": "bun run setup:pre-push && bun run setup:pre-commit",
|
|
75
75
|
"test:multichain": "rm -rf build && jest --testMatch '**/tests/**/evm.spec*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
76
76
|
"test:tx": "rm -rf build && jest --testMatch '**/tests/multichain**/fulltx*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
77
|
+
"test:solana": "rm -rf build && jest --testMatch '**/tests/multichain**/solana.spec*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
77
78
|
"test:demoswork": "rm -rf build && jest --testMatch '**/tests/**/demoswork*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
78
79
|
"test:identities": "rm -rf build && jest --testMatch '**/tests/**/identities.spec*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
79
80
|
"test:identities:pqc": "rm -rf build && jest --testMatch '**/tests/**/identities.pqc.spec*.ts' --testPathIgnorePatterns **/tests/**/chainProvider* **/tests/utils/* **/tests/**/template* --verbose",
|
|
@@ -95,6 +96,7 @@
|
|
|
95
96
|
"dependencies": {
|
|
96
97
|
"@aptos-labs/ts-sdk": "^1.39.0",
|
|
97
98
|
"@bitcoinerlab/secp256k1": "^1.2.0",
|
|
99
|
+
"@coral-xyz/anchor": "^0.32.1",
|
|
98
100
|
"@cosmjs/proto-signing": "^0.32.4",
|
|
99
101
|
"@cosmjs/stargate": "^0.32.4",
|
|
100
102
|
"@cryptkeeperzk/snarkjs": "^0.7.2",
|