@silentswap/sdk 0.0.5 → 0.0.7
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/dist/hd-facilitator-group.d.ts +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +5 -2
- package/package.json +10 -10
|
@@ -14,7 +14,7 @@ export declare class HdFacilitatorGroup {
|
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
16
|
account(coinType: number | CoinTypeStr, addressIndex: number | IntStr): Promise<FacilitatorAccount>;
|
|
17
|
-
exportPublicKeys(facilitatorCount: number, keySpecs: Omit<FacilitatorPublicKey, 'publicKeyBytes'>[]): Promise<FacilitatorPublicKey[][]>;
|
|
17
|
+
exportPublicKeys(facilitatorCount: number, keySpecs: readonly Omit<FacilitatorPublicKey, 'publicKeyBytes'>[]): Promise<FacilitatorPublicKey[][]>;
|
|
18
18
|
approveProxyAuthorizations(instructions: FacilitatorInstruction[], encryptArgs: EncryptSecretKeyArgs): Promise<FacilitatorReply[]>;
|
|
19
19
|
}
|
|
20
20
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export type { SilentSwapClientConfig, SilentSwapClient, } from './client.js';
|
|
2
2
|
export type * from './types/api.js';
|
|
3
3
|
export type { EvmSigner } from './types/sdk.js';
|
|
4
|
-
export
|
|
4
|
+
export * from './order.js';
|
|
5
|
+
export * from './caip19.js';
|
|
5
6
|
export { createSilentSwapClient, } from './client.js';
|
|
6
7
|
export * from './constants.js';
|
|
7
|
-
export
|
|
8
|
+
export * from './gateway-abi.js';
|
|
9
|
+
export { createHdFacilitatorGroupFromEntropy, exportSecretMnemonicFromEntropy, } from './hd-facilitator-group.js';
|
|
8
10
|
export { createSignInMessage, createEip712DocForOrder, createEip712DocForWalletGeneration, } from './sdk.js';
|
|
9
|
-
export { createViemSigner, } from './signer-adapters/viem.js';
|
|
11
|
+
export { createViemSigner, parseTransactionRequestForViem, } from './signer-adapters/viem.js';
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
export * from './order.js';
|
|
2
|
+
export * from './caip19.js';
|
|
1
3
|
export { createSilentSwapClient, } from './client.js';
|
|
2
4
|
export * from './constants.js';
|
|
3
|
-
export
|
|
5
|
+
export * from './gateway-abi.js';
|
|
6
|
+
export { createHdFacilitatorGroupFromEntropy, exportSecretMnemonicFromEntropy, } from './hd-facilitator-group.js';
|
|
4
7
|
export { createSignInMessage, createEip712DocForOrder, createEip712DocForWalletGeneration, } from './sdk.js';
|
|
5
|
-
export { createViemSigner, } from './signer-adapters/viem.js';
|
|
8
|
+
export { createViemSigner, parseTransactionRequestForViem, } from './signer-adapters/viem.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silentswap/sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -11,26 +11,26 @@
|
|
|
11
11
|
"build": "tsc"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@cosmjs/amino": "^0.
|
|
15
|
-
"@cosmjs/crypto": "^0.
|
|
16
|
-
"@cosmjs/encoding": "^0.
|
|
14
|
+
"@cosmjs/amino": "^0.34.0",
|
|
15
|
+
"@cosmjs/crypto": "^0.34.0",
|
|
16
|
+
"@cosmjs/encoding": "^0.34.0",
|
|
17
17
|
"@solar-republic/wasm-secp256k1": "^0.6.1",
|
|
18
|
-
"bignumber.js": "^9.3.
|
|
18
|
+
"bignumber.js": "^9.3.1",
|
|
19
19
|
"siwe": "^3.0.0",
|
|
20
20
|
"viem": "^2.31.7"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@eslint/js": "^9.
|
|
23
|
+
"@eslint/js": "^9.31.0",
|
|
24
24
|
"@stylistic/eslint-plugin": "^5.1.0",
|
|
25
25
|
"@tsconfig/node24": "^24.0.1",
|
|
26
26
|
"@types/node": "^24.0.13",
|
|
27
|
-
"@types/web": "^0.0.
|
|
28
|
-
"@typescript-eslint/parser": "^8.
|
|
27
|
+
"@types/web": "^0.0.247",
|
|
28
|
+
"@typescript-eslint/parser": "^8.37.0",
|
|
29
29
|
"abitype": "^1.0.8",
|
|
30
|
-
"eslint": "^9.
|
|
30
|
+
"eslint": "^9.31.0",
|
|
31
31
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
32
32
|
"eslint-plugin-import-x": "^4.16.1",
|
|
33
33
|
"typescript": "^5.8.3",
|
|
34
|
-
"typescript-eslint": "^8.
|
|
34
|
+
"typescript-eslint": "^8.37.0"
|
|
35
35
|
}
|
|
36
36
|
}
|