@cardano-sdk/web-extension 0.16.5 → 0.17.0

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.
@@ -3,10 +3,9 @@ export interface ConsumeKeyAgentProps {
3
3
  walletName: string;
4
4
  }
5
5
  export declare const consumeKeyAgent: ({ walletName }: ConsumeKeyAgentProps, dependencies: MessengerDependencies) => Pick<import("@cardano-sdk/key-management").KeyAgent, "deriveAddress" | "derivePublicKey" | "signBlob" | "signTransaction"> & {
6
- knownAddresses$: import("rxjs").Observable<import("@cardano-sdk/key-management").GroupedAddress[]>;
7
6
  getChainId(): Promise<import("@cardano-sdk/core/dist/cjs/Cardano").ChainId>;
8
7
  getBip32Ed25519(): Promise<import("@cardano-sdk/crypto").Bip32Ed25519>;
9
8
  getExtendedAccountPublicKey(): Promise<import("@cardano-sdk/crypto").Bip32PublicKeyHex>;
10
- setKnownAddresses(addresses: import("@cardano-sdk/key-management").GroupedAddress[]): Promise<void>;
9
+ getAccountIndex(): Promise<number>;
11
10
  } & import("@cardano-sdk/util").Shutdown;
12
11
  //# sourceMappingURL=consumeKeyAgent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consumeKeyAgent.d.ts","sourceRoot":"","sources":["../../../src/keyAgent/consumeKeyAgent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAGvE,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,mBAAoB,oBAAoB,gBAAgB,qBAAqB;;;;;;wCAOtG,CAAC"}
1
+ {"version":3,"file":"consumeKeyAgent.d.ts","sourceRoot":"","sources":["../../../src/keyAgent/consumeKeyAgent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAoB,MAAM,cAAc,CAAC;AAGvE,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe,mBAAoB,oBAAoB,gBAAgB,qBAAqB;;;;;wCAOtG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAyB,MAAM,cAAc,CAAC;AAE1E,eAAO,MAAM,eAAe,eAAgB,MAAM,WAA8B,CAAC;AAEjF,eAAO,MAAM,kBAAkB,EAAE,mBAAmB,CAAC,aAAa,CAUjE,CAAC"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAyB,MAAM,cAAc,CAAC;AAE1E,eAAO,MAAM,eAAe,eAAgB,MAAM,WAA8B,CAAC;AAEjF,eAAO,MAAM,kBAAkB,EAAE,mBAAmB,CAAC,aAAa,CASjE,CAAC"}
@@ -7,11 +7,10 @@ exports.keyAgentChannel = keyAgentChannel;
7
7
  exports.keyAgentProperties = {
8
8
  deriveAddress: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
9
9
  derivePublicKey: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
10
+ getAccountIndex: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
10
11
  getBip32Ed25519: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
11
12
  getChainId: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
12
13
  getExtendedAccountPublicKey: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
13
- knownAddresses$: messaging_1.RemoteApiPropertyType.HotObservable,
14
- setKnownAddresses: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
15
14
  signBlob: messaging_1.RemoteApiPropertyType.MethodReturningPromise,
16
15
  signTransaction: messaging_1.RemoteApiPropertyType.MethodReturningPromise
17
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":";;;AACA,4CAA0E;AAEnE,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,UAAU,YAAY,CAAC;AAApE,QAAA,eAAe,mBAAqD;AAEpE,QAAA,kBAAkB,GAAuC;IACpE,aAAa,EAAE,iCAAqB,CAAC,sBAAsB;IAC3D,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;IAC7D,UAAU,EAAE,iCAAqB,CAAC,sBAAsB;IACxD,2BAA2B,EAAE,iCAAqB,CAAC,sBAAsB;IACzE,eAAe,EAAE,iCAAqB,CAAC,aAAa;IACpD,iBAAiB,EAAE,iCAAqB,CAAC,sBAAsB;IAC/D,QAAQ,EAAE,iCAAqB,CAAC,sBAAsB;IACtD,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;CAC9D,CAAC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":";;;AACA,4CAA0E;AAEnE,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,UAAU,YAAY,CAAC;AAApE,QAAA,eAAe,mBAAqD;AAEpE,QAAA,kBAAkB,GAAuC;IACpE,aAAa,EAAE,iCAAqB,CAAC,sBAAsB;IAC3D,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;IAC7D,UAAU,EAAE,iCAAqB,CAAC,sBAAsB;IACxD,2BAA2B,EAAE,iCAAqB,CAAC,sBAAsB;IACzE,QAAQ,EAAE,iCAAqB,CAAC,sBAAsB;IACtD,eAAe,EAAE,iCAAqB,CAAC,sBAAsB;CAC9D,CAAC"}