@keplr-wallet/wc-client 0.12.68-rc.1 → 0.12.68

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/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AminoSignResponse, BroadcastMode, ChainInfo, ChainInfoWithoutEndpoints, DirectAuxSignResponse, DirectSignResponse, EthSignType, ICNSAdr36Signatures, Keplr, KeplrIntereactionOptions, KeplrMode, KeplrSignOptions, Key, OfflineAminoSigner, OfflineDirectSigner, SecretUtils, SettledResponses, StdSignature, StdSignDoc } from "@keplr-wallet/types";
1
+ import { AminoSignResponse, BroadcastMode, ChainInfo, ChainInfoWithoutEndpoints, DirectSignResponse, EthSignType, ICNSAdr36Signatures, Keplr, KeplrIntereactionOptions, KeplrMode, KeplrSignOptions, Key, OfflineAminoSigner, OfflineDirectSigner, SecretUtils, SettledResponses, StdSignature, StdSignDoc } from "@keplr-wallet/types";
2
2
  import SignClient from "@walletconnect/sign-client";
3
3
  import { ProposalTypes, SessionTypes } from "@walletconnect/types";
4
4
  import Long from "long";
@@ -83,23 +83,6 @@ export declare class KeplrWalletConnectV2 implements Keplr {
83
83
  chainId?: string | null;
84
84
  accountNumber?: Long | null;
85
85
  }, signOptions?: KeplrSignOptions): Promise<DirectSignResponse>;
86
- signDirectAux(_chainId: string, _signer: string, _signDoc: {
87
- bodyBytes?: Uint8Array | null;
88
- publicKey?: {
89
- typeUrl: string;
90
- value: Uint8Array;
91
- } | null;
92
- chainId?: string | null;
93
- accountNumber?: Long | null;
94
- sequence?: Long | null;
95
- tip?: {
96
- amount: {
97
- denom: string;
98
- amount: string;
99
- }[];
100
- tipper: string;
101
- } | null;
102
- }, _signOptions?: Exclude<KeplrSignOptions, "preferNoSetFee" | "disableBalanceCheck">): Promise<DirectAuxSignResponse>;
103
86
  signEthereum(_chainId: string, _signer: string, _data: string | Uint8Array, _type: EthSignType): Promise<Uint8Array>;
104
87
  signICNSAdr36(_chainId: string, _contractAddress: string, _owner: string, _username: string, _addressChainIds: string[]): Promise<ICNSAdr36Signatures>;
105
88
  suggestToken(_chainId: string, _contractAddress: string, _viewingKey?: string): Promise<void>;
package/build/index.js CHANGED
@@ -380,9 +380,6 @@ class KeplrWalletConnectV2 {
380
380
  };
381
381
  });
382
382
  }
383
- signDirectAux(_chainId, _signer, _signDoc, _signOptions) {
384
- throw new Error("Not yet implemented");
385
- }
386
383
  signEthereum(_chainId, _signer, _data, _type) {
387
384
  throw new Error("Not yet implemented");
388
385
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAsBA,qDAGgC;AAChC,oCAAiC;AAEjC,gDAAwB;AAsBxB,MAAa,oBAAoB;IAO/B,YACkB,UAAsB,EACtB,OAGf;QAJe,eAAU,GAAV,UAAU,CAAY;QACtB,YAAO,GAAP,OAAO,CAGtB;QAXH,mBAAc,GAA6B,EAAE,CAAC;QAErC,YAAO,GAAW,SAAS,CAAC;QAC5B,SAAI,GAAc,eAAe,CAAC;QACxB,aAAQ,GAAG,6BAA6B,CAAC;QAS1D,IAAI,OAAO,CAAC,iBAAiB,EAAE;YAC7B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;SAC1C;QAED,UAAU,CAAC,EAAE,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE;YACvC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,KAAK,uBAAuB,EAAE;gBACvD,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAEvC,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC;aACzD;QACH,CAAC,CAAC,CAAC;QAEH,UAAU,CAAC,EAAE,CAAC,gBAAgB,EAAE,GAAS,EAAE;YACzC,YAAY,CAAC,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B;QAE1B,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAED,YAAY,CACV,QAAgB,EAChB,gBAAwB,EACxB,WAAoB;QAEpB,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;IAED,eAAe,CACb,QAAgB,EAChB,OAAe,EACf,KAA0B,EAC1B,UAAwB;QAExB,MAAM,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACzC,CAAC;CACF;AAhkBD,oDAgkBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keplr-wallet/wc-client",
3
- "version": "0.12.68-rc.1",
3
+ "version": "0.12.68",
4
4
  "main": "build/index.js",
5
5
  "author": "chainapsis",
6
6
  "license": "Apache-2.0",
@@ -16,8 +16,8 @@
16
16
  "lint-fix": "eslint --fix \"src/**/*\" && prettier --write \"src/**/*\""
17
17
  },
18
18
  "dependencies": {
19
- "@keplr-wallet/provider": "0.12.68-rc.1",
20
- "@keplr-wallet/types": "0.12.68-rc.1",
19
+ "@keplr-wallet/provider": "0.12.68",
20
+ "@keplr-wallet/types": "0.12.68",
21
21
  "buffer": "^6.0.3",
22
22
  "deepmerge": "^4.2.2",
23
23
  "long": "^3 || ^4 || ^5"
@@ -26,5 +26,5 @@
26
26
  "@walletconnect/sign-client": "^2",
27
27
  "@walletconnect/types": "^2"
28
28
  },
29
- "gitHead": "761f88028f70edcb25f7303873a13a335b075aff"
29
+ "gitHead": "70cd82a35876f8a42bd6da766ef0d11e388a0df2"
30
30
  }
package/src/index.ts CHANGED
@@ -3,7 +3,6 @@ import {
3
3
  BroadcastMode,
4
4
  ChainInfo,
5
5
  ChainInfoWithoutEndpoints,
6
- DirectAuxSignResponse,
7
6
  DirectSignResponse,
8
7
  EthSignType,
9
8
  ICNSAdr36Signatures,
@@ -589,34 +588,6 @@ export class KeplrWalletConnectV2 implements Keplr {
589
588
  };
590
589
  }
591
590
 
592
- signDirectAux(
593
- _chainId: string,
594
- _signer: string,
595
- _signDoc: {
596
- bodyBytes?: Uint8Array | null;
597
- publicKey?: {
598
- typeUrl: string;
599
- value: Uint8Array;
600
- } | null;
601
- chainId?: string | null;
602
- accountNumber?: Long | null;
603
- sequence?: Long | null;
604
- tip?: {
605
- amount: {
606
- denom: string;
607
- amount: string;
608
- }[];
609
- tipper: string;
610
- } | null;
611
- },
612
- _signOptions?: Exclude<
613
- KeplrSignOptions,
614
- "preferNoSetFee" | "disableBalanceCheck"
615
- >
616
- ): Promise<DirectAuxSignResponse> {
617
- throw new Error("Not yet implemented");
618
- }
619
-
620
591
  signEthereum(
621
592
  _chainId: string,
622
593
  _signer: string,