@keplr-wallet/types 0.12.170-rc.4 → 0.12.171

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  export interface SecretUtils {
2
- isNewApi: () => Promise<boolean>;
3
2
  getPubkey: () => Promise<Uint8Array>;
4
3
  decrypt: (ciphertext: Uint8Array, nonce: Uint8Array) => Promise<Uint8Array>;
5
4
  encrypt: (contractCodeHash: string, msg: object) => Promise<Uint8Array>;
@@ -101,7 +101,6 @@ export interface Keplr {
101
101
  getEnigmaTxEncryptionKey(chainId: string, nonce: Uint8Array): Promise<Uint8Array>;
102
102
  enigmaEncrypt(chainId: string, contractCodeHash: string, msg: object): Promise<Uint8Array>;
103
103
  enigmaDecrypt(chainId: string, ciphertext: Uint8Array, nonce: Uint8Array): Promise<Uint8Array>;
104
- enigmaIsNewApi(chainId: string): Promise<boolean>;
105
104
  /**
106
105
  * Sign the sign doc with ethermint's EIP-712 format.
107
106
  * The difference from signEthereum(..., EthSignType.EIP712) is that this api returns a new sign doc changed by the user's fee setting and the signature for that sign doc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keplr-wallet/types",
3
- "version": "0.12.170-rc.4",
3
+ "version": "0.12.171",
4
4
  "main": "build/index.js",
5
5
  "author": "chainapsis",
6
6
  "license": "Apache-2.0",
@@ -21,5 +21,5 @@
21
21
  "peerDependencies": {
22
22
  "starknet": "^6"
23
23
  },
24
- "gitHead": "eb1167eea5db9b47487a63910051aa0150dc9742"
24
+ "gitHead": "838ea6b37fbfafe252f6ee6e4a92e736c6747405"
25
25
  }
package/src/secretjs.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export interface SecretUtils {
2
- isNewApi: () => Promise<boolean>;
3
2
  getPubkey: () => Promise<Uint8Array>;
4
3
  decrypt: (ciphertext: Uint8Array, nonce: Uint8Array) => Promise<Uint8Array>;
5
4
  encrypt: (
@@ -208,7 +208,6 @@ export interface Keplr {
208
208
  ciphertext: Uint8Array,
209
209
  nonce: Uint8Array
210
210
  ): Promise<Uint8Array>;
211
- enigmaIsNewApi(chainId: string): Promise<boolean>;
212
211
 
213
212
  /**
214
213
  * Sign the sign doc with ethermint's EIP-712 format.