@onekeyfe/hd-core 1.0.10-alpha.6 → 1.0.10-alpha.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.
@@ -1 +1 @@
1
- {"version":3,"file":"AllNetworkGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/allnetwork/AllNetworkGetAddress.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACT,MAAM,sCAAsC,CAAC;AAuM9C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAC1D;IACE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,EAAE,CACJ;IACC,IAAI;IAoBJ,kBAAkB,CAAC,EACjB,OAAO,EACP,OAAO,GACR,EAAE;QACD,OAAO,EAAE,QAAQ,CAAC;QAClB,OAAO,EAAE,uBAAuB,CAAC;KAClC,GAAG;QACF,UAAU,EAAE,MAAM,OAAO,CAAC;QAC1B,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/C;IAgBK,GAAG;CA0DV"}
1
+ {"version":3,"file":"AllNetworkGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/allnetwork/AllNetworkGetAddress.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,OAAO,KAAK,EACV,iBAAiB,EACjB,uBAAuB,EACvB,QAAQ,EACT,MAAM,sCAAsC,CAAC;AAuM9C,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAC1D;IACE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,EAAE,CACJ;IACC,IAAI;IAkBJ,kBAAkB,CAAC,EACjB,OAAO,EACP,OAAO,GACR,EAAE;QACD,OAAO,EAAE,QAAQ,CAAC;QAClB,OAAO,EAAE,uBAAuB,CAAC;KAClC,GAAG;QACF,UAAU,EAAE,MAAM,OAAO,CAAC;QAC1B,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC/C;IAgBK,GAAG;CA0DV"}
@@ -1 +1 @@
1
- {"version":3,"file":"TonSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/ton/TonSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIlF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,sBAAsB,CAAC;IAC5E,IAAI;IAoDJ,eAAe;;;;;;;;;;;IAcT,GAAG;CAOV"}
1
+ {"version":3,"file":"TonSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/ton/TonSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAIlF,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,sBAAsB,CAAC;IAC5E,IAAI;IAqDJ,eAAe;;;;;;;;;;;IAcT,GAAG;CAOV"}
package/dist/index.d.ts CHANGED
@@ -1969,6 +1969,7 @@ type TonSignMessageParams = {
1969
1969
  path: string | number[];
1970
1970
  destination: string;
1971
1971
  jettonMasterAddress?: string;
1972
+ jettonWalletAddress?: string;
1972
1973
  tonAmount: number;
1973
1974
  jettonAmount?: number;
1974
1975
  fwdFee?: number;
@@ -1981,9 +1982,9 @@ type TonSignMessageParams = {
1981
1982
  workchain?: TonWorkChain;
1982
1983
  isBounceable?: boolean;
1983
1984
  isTestnetOnly?: boolean;
1984
- extDestination?: string;
1985
- extTonAmount?: number;
1986
- extPayload?: string;
1985
+ extDestination?: string[];
1986
+ extTonAmount?: number[];
1987
+ extPayload?: string[];
1987
1988
  };
1988
1989
  declare function tonSignMessage(connectId: string, deviceId: string, params: CommonParams & TonSignMessageParams): Response<TonSignedMessage>;
1989
1990
 
package/dist/index.js CHANGED
@@ -11569,9 +11569,6 @@ var nested$1 = {
11569
11569
  },
11570
11570
  TonWalletVersion: {
11571
11571
  values: {
11572
- V3R1: 0,
11573
- V3R2: 1,
11574
- V4R1: 2,
11575
11572
  V4R2: 3
11576
11573
  }
11577
11574
  },
@@ -11599,7 +11596,7 @@ var nested$1 = {
11599
11596
  type: "TonWalletVersion",
11600
11597
  id: 3,
11601
11598
  options: {
11602
- "default": "V3R2"
11599
+ "default": "V4R2"
11603
11600
  }
11604
11601
  },
11605
11602
  is_bounceable: {
@@ -11665,29 +11662,33 @@ var nested$1 = {
11665
11662
  type: "string",
11666
11663
  id: 3
11667
11664
  },
11665
+ jetton_wallet_address: {
11666
+ type: "string",
11667
+ id: 4
11668
+ },
11668
11669
  ton_amount: {
11669
11670
  rule: "required",
11670
11671
  type: "uint64",
11671
- id: 4
11672
+ id: 5
11672
11673
  },
11673
11674
  jetton_amount: {
11674
11675
  type: "uint64",
11675
- id: 5
11676
+ id: 6
11676
11677
  },
11677
11678
  fwd_fee: {
11678
11679
  type: "uint64",
11679
- id: 6,
11680
+ id: 7,
11680
11681
  options: {
11681
11682
  "default": 0
11682
11683
  }
11683
11684
  },
11684
11685
  comment: {
11685
11686
  type: "string",
11686
- id: 7
11687
+ id: 8
11687
11688
  },
11688
11689
  mode: {
11689
11690
  type: "uint32",
11690
- id: 8,
11691
+ id: 9,
11691
11692
  options: {
11692
11693
  "default": 3
11693
11694
  }
@@ -11695,59 +11696,65 @@ var nested$1 = {
11695
11696
  seqno: {
11696
11697
  rule: "required",
11697
11698
  type: "uint32",
11698
- id: 9
11699
+ id: 10
11699
11700
  },
11700
11701
  expire_at: {
11701
11702
  rule: "required",
11702
11703
  type: "uint64",
11703
- id: 10
11704
+ id: 11
11704
11705
  },
11705
11706
  wallet_version: {
11706
11707
  type: "TonWalletVersion",
11707
- id: 11,
11708
+ id: 12,
11708
11709
  options: {
11709
11710
  "default": "V4R2"
11710
11711
  }
11711
11712
  },
11712
11713
  wallet_id: {
11713
11714
  type: "uint32",
11714
- id: 12,
11715
+ id: 13,
11715
11716
  options: {
11716
11717
  "default": 698983191
11717
11718
  }
11718
11719
  },
11719
11720
  workchain: {
11720
11721
  type: "TonWorkChain",
11721
- id: 13,
11722
+ id: 14,
11722
11723
  options: {
11723
11724
  "default": "BASECHAIN"
11724
11725
  }
11725
11726
  },
11726
11727
  is_bounceable: {
11727
11728
  type: "bool",
11728
- id: 14,
11729
+ id: 15,
11729
11730
  options: {
11730
11731
  "default": false
11731
11732
  }
11732
11733
  },
11733
11734
  is_testnet_only: {
11734
11735
  type: "bool",
11735
- id: 15,
11736
+ id: 16,
11736
11737
  options: {
11737
11738
  "default": false
11738
11739
  }
11739
11740
  },
11740
11741
  ext_destination: {
11742
+ rule: "repeated",
11741
11743
  type: "string",
11742
- id: 16
11744
+ id: 17
11743
11745
  },
11744
11746
  ext_ton_amount: {
11747
+ rule: "repeated",
11745
11748
  type: "uint64",
11746
- id: 17
11749
+ id: 18,
11750
+ options: {
11751
+ packed: false
11752
+ }
11747
11753
  },
11748
11754
  ext_payload: {
11755
+ rule: "repeated",
11749
11756
  type: "string",
11750
- id: 18
11757
+ id: 19
11751
11758
  }
11752
11759
  }
11753
11760
  },
@@ -11756,6 +11763,10 @@ var nested$1 = {
11756
11763
  signature: {
11757
11764
  type: "bytes",
11758
11765
  id: 1
11766
+ },
11767
+ signning_message: {
11768
+ type: "bytes",
11769
+ id: 2
11759
11770
  }
11760
11771
  }
11761
11772
  },
@@ -28103,7 +28114,6 @@ class AllNetworkGetAddress extends BaseMethod {
28103
28114
  this.checkDeviceId = true;
28104
28115
  this.notAllowDeviceMode = [...this.notAllowDeviceMode, UI_REQUEST.INITIALIZE];
28105
28116
  validateParams(this.payload, [{ name: 'bundle', type: 'array' }]);
28106
- console.log('=====>>>>>> this.payload.bundle', this.payload.bundle);
28107
28117
  this.payload.bundle.forEach((batch) => {
28108
28118
  validateParams(batch, [
28109
28119
  { name: 'path', required: true },
@@ -34596,6 +34606,7 @@ class TonSignMessage extends BaseMethod {
34596
34606
  { name: 'path', required: true },
34597
34607
  { name: 'destination', type: 'string' },
34598
34608
  { name: 'jettonMasterAddress', type: 'string' },
34609
+ { name: 'jettonWalletAddress', type: 'string' },
34599
34610
  { name: 'tonAmount', type: 'number' },
34600
34611
  { name: 'jettonAmount', type: 'number' },
34601
34612
  { name: 'fwdFee', type: 'number' },
@@ -34608,9 +34619,9 @@ class TonSignMessage extends BaseMethod {
34608
34619
  { name: 'workchain' },
34609
34620
  { name: 'isBounceable', type: 'boolean' },
34610
34621
  { name: 'isTestnetOnly', type: 'boolean' },
34611
- { name: 'extDestination', type: 'string' },
34612
- { name: 'extTonAmount', type: 'number' },
34613
- { name: 'extPayload', type: 'string' },
34622
+ { name: 'extDestination', type: 'array' },
34623
+ { name: 'extTonAmount', type: 'array' },
34624
+ { name: 'extPayload', type: 'array' },
34614
34625
  ]);
34615
34626
  const { path } = this.payload;
34616
34627
  const addressN = validatePath(path, 3);
@@ -34618,6 +34629,7 @@ class TonSignMessage extends BaseMethod {
34618
34629
  address_n: addressN,
34619
34630
  destination: this.payload.destination,
34620
34631
  jetton_master_address: this.payload.jettonMasterAddress,
34632
+ jetton_wallet_address: this.payload.jettonWalletAddress,
34621
34633
  ton_amount: this.payload.tonAmount,
34622
34634
  jetton_amount: this.payload.jettonAmount,
34623
34635
  fwd_fee: this.payload.fwdFee,
@@ -4,6 +4,7 @@ export type TonSignMessageParams = {
4
4
  path: string | number[];
5
5
  destination: string;
6
6
  jettonMasterAddress?: string;
7
+ jettonWalletAddress?: string;
7
8
  tonAmount: number;
8
9
  jettonAmount?: number;
9
10
  fwdFee?: number;
@@ -16,9 +17,9 @@ export type TonSignMessageParams = {
16
17
  workchain?: TonWorkChain;
17
18
  isBounceable?: boolean;
18
19
  isTestnetOnly?: boolean;
19
- extDestination?: string;
20
- extTonAmount?: number;
21
- extPayload?: string;
20
+ extDestination?: string[];
21
+ extTonAmount?: number[];
22
+ extPayload?: string[];
22
23
  };
23
24
  export declare function tonSignMessage(connectId: string, deviceId: string, params: CommonParams & TonSignMessageParams): Response<TonSignedMessage>;
24
25
  //# sourceMappingURL=tonSignMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tonSignMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/tonSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,oBAAoB,GAC1C,QAAQ,CAAC,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"tonSignMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/tonSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,cAAc,CACpC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,oBAAoB,GAC1C,QAAQ,CAAC,gBAAgB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "1.0.10-alpha.6",
3
+ "version": "1.0.10-alpha.7",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@onekeyfe/hd-shared": "^1.0.10-alpha.6",
29
- "@onekeyfe/hd-transport": "^1.0.10-alpha.6",
28
+ "@onekeyfe/hd-shared": "^1.0.10-alpha.7",
29
+ "@onekeyfe/hd-transport": "^1.0.10-alpha.7",
30
30
  "axios": "^0.27.2",
31
31
  "bignumber.js": "^9.0.2",
32
32
  "bytebuffer": "^5.0.1",
@@ -44,5 +44,5 @@
44
44
  "@types/semver": "^7.3.9",
45
45
  "ripple-keypairs": "^1.1.4"
46
46
  },
47
- "gitHead": "4d363240a1b2df4a692b4fc746c62af81b835cd6"
47
+ "gitHead": "15b187074343277ba8ecd565850aaf07bb5659ae"
48
48
  }
@@ -225,8 +225,6 @@ export default class AllNetworkGetAddress extends BaseMethod<
225
225
  validateParams(this.payload, [{ name: 'bundle', type: 'array' }]);
226
226
 
227
227
  // check bundle
228
- console.log('=====>>>>>> this.payload.bundle', this.payload.bundle);
229
-
230
228
  this.payload.bundle.forEach((batch: AllNetworkAddressParams) => {
231
229
  validateParams(batch, [
232
230
  { name: 'path', required: true },
@@ -12,11 +12,11 @@ export default class TonSignMessage extends BaseMethod<HardwareTonSignMessage> {
12
12
  this.notAllowDeviceMode = [...this.notAllowDeviceMode, UI_REQUEST.INITIALIZE];
13
13
 
14
14
  // init params
15
-
16
15
  validateParams(this.payload, [
17
16
  { name: 'path', required: true },
18
17
  { name: 'destination', type: 'string' },
19
18
  { name: 'jettonMasterAddress', type: 'string' },
19
+ { name: 'jettonWalletAddress', type: 'string' },
20
20
  { name: 'tonAmount', type: 'number' },
21
21
  { name: 'jettonAmount', type: 'number' },
22
22
  { name: 'fwdFee', type: 'number' },
@@ -29,9 +29,9 @@ export default class TonSignMessage extends BaseMethod<HardwareTonSignMessage> {
29
29
  { name: 'workchain' },
30
30
  { name: 'isBounceable', type: 'boolean' },
31
31
  { name: 'isTestnetOnly', type: 'boolean' },
32
- { name: 'extDestination', type: 'string' },
33
- { name: 'extTonAmount', type: 'number' },
34
- { name: 'extPayload', type: 'string' },
32
+ { name: 'extDestination', type: 'array' },
33
+ { name: 'extTonAmount', type: 'array' },
34
+ { name: 'extPayload', type: 'array' },
35
35
  ]);
36
36
 
37
37
  const { path } = this.payload as TonSignMessageParams;
@@ -41,6 +41,7 @@ export default class TonSignMessage extends BaseMethod<HardwareTonSignMessage> {
41
41
  address_n: addressN,
42
42
  destination: this.payload.destination,
43
43
  jetton_master_address: this.payload.jettonMasterAddress,
44
+ jetton_wallet_address: this.payload.jettonWalletAddress,
44
45
  ton_amount: this.payload.tonAmount,
45
46
  jetton_amount: this.payload.jettonAmount,
46
47
  fwd_fee: this.payload.fwdFee,
@@ -10415,9 +10415,6 @@
10415
10415
  },
10416
10416
  "TonWalletVersion": {
10417
10417
  "values": {
10418
- "V3R1": 0,
10419
- "V3R2": 1,
10420
- "V4R1": 2,
10421
10418
  "V4R2": 3
10422
10419
  }
10423
10420
  },
@@ -10445,7 +10442,7 @@
10445
10442
  "type": "TonWalletVersion",
10446
10443
  "id": 3,
10447
10444
  "options": {
10448
- "default": "V3R2"
10445
+ "default": "V4R2"
10449
10446
  }
10450
10447
  },
10451
10448
  "is_bounceable": {
@@ -10511,29 +10508,33 @@
10511
10508
  "type": "string",
10512
10509
  "id": 3
10513
10510
  },
10511
+ "jetton_wallet_address": {
10512
+ "type": "string",
10513
+ "id": 4
10514
+ },
10514
10515
  "ton_amount": {
10515
10516
  "rule": "required",
10516
10517
  "type": "uint64",
10517
- "id": 4
10518
+ "id": 5
10518
10519
  },
10519
10520
  "jetton_amount": {
10520
10521
  "type": "uint64",
10521
- "id": 5
10522
+ "id": 6
10522
10523
  },
10523
10524
  "fwd_fee": {
10524
10525
  "type": "uint64",
10525
- "id": 6,
10526
+ "id": 7,
10526
10527
  "options": {
10527
10528
  "default": 0
10528
10529
  }
10529
10530
  },
10530
10531
  "comment": {
10531
10532
  "type": "string",
10532
- "id": 7
10533
+ "id": 8
10533
10534
  },
10534
10535
  "mode": {
10535
10536
  "type": "uint32",
10536
- "id": 8,
10537
+ "id": 9,
10537
10538
  "options": {
10538
10539
  "default": 3
10539
10540
  }
@@ -10541,59 +10542,65 @@
10541
10542
  "seqno": {
10542
10543
  "rule": "required",
10543
10544
  "type": "uint32",
10544
- "id": 9
10545
+ "id": 10
10545
10546
  },
10546
10547
  "expire_at": {
10547
10548
  "rule": "required",
10548
10549
  "type": "uint64",
10549
- "id": 10
10550
+ "id": 11
10550
10551
  },
10551
10552
  "wallet_version": {
10552
10553
  "type": "TonWalletVersion",
10553
- "id": 11,
10554
+ "id": 12,
10554
10555
  "options": {
10555
10556
  "default": "V4R2"
10556
10557
  }
10557
10558
  },
10558
10559
  "wallet_id": {
10559
10560
  "type": "uint32",
10560
- "id": 12,
10561
+ "id": 13,
10561
10562
  "options": {
10562
10563
  "default": 698983191
10563
10564
  }
10564
10565
  },
10565
10566
  "workchain": {
10566
10567
  "type": "TonWorkChain",
10567
- "id": 13,
10568
+ "id": 14,
10568
10569
  "options": {
10569
10570
  "default": "BASECHAIN"
10570
10571
  }
10571
10572
  },
10572
10573
  "is_bounceable": {
10573
10574
  "type": "bool",
10574
- "id": 14,
10575
+ "id": 15,
10575
10576
  "options": {
10576
10577
  "default": false
10577
10578
  }
10578
10579
  },
10579
10580
  "is_testnet_only": {
10580
10581
  "type": "bool",
10581
- "id": 15,
10582
+ "id": 16,
10582
10583
  "options": {
10583
10584
  "default": false
10584
10585
  }
10585
10586
  },
10586
10587
  "ext_destination": {
10588
+ "rule": "repeated",
10587
10589
  "type": "string",
10588
- "id": 16
10590
+ "id": 17
10589
10591
  },
10590
10592
  "ext_ton_amount": {
10593
+ "rule": "repeated",
10591
10594
  "type": "uint64",
10592
- "id": 17
10595
+ "id": 18,
10596
+ "options": {
10597
+ "packed": false
10598
+ }
10593
10599
  },
10594
10600
  "ext_payload": {
10601
+ "rule": "repeated",
10595
10602
  "type": "string",
10596
- "id": 18
10603
+ "id": 19
10597
10604
  }
10598
10605
  }
10599
10606
  },
@@ -10602,6 +10609,10 @@
10602
10609
  "signature": {
10603
10610
  "type": "bytes",
10604
10611
  "id": 1
10612
+ },
10613
+ "signning_message": {
10614
+ "type": "bytes",
10615
+ "id": 2
10605
10616
  }
10606
10617
  }
10607
10618
  },
@@ -5,6 +5,7 @@ export type TonSignMessageParams = {
5
5
  path: string | number[];
6
6
  destination: string;
7
7
  jettonMasterAddress?: string;
8
+ jettonWalletAddress?: string;
8
9
  tonAmount: number;
9
10
  jettonAmount?: number;
10
11
  fwdFee?: number;
@@ -17,9 +18,9 @@ export type TonSignMessageParams = {
17
18
  workchain?: TonWorkChain;
18
19
  isBounceable?: boolean;
19
20
  isTestnetOnly?: boolean;
20
- extDestination?: string;
21
- extTonAmount?: number;
22
- extPayload?: string;
21
+ extDestination?: string[];
22
+ extTonAmount?: number[];
23
+ extPayload?: string[];
23
24
  };
24
25
 
25
26
  export declare function tonSignMessage(