@cardano-sdk/web-extension 0.16.4 → 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"}
@@ -3,11 +3,10 @@ export const keyAgentChannel = (walletName) => `${walletName}$-keyAgent`;
3
3
  export const keyAgentProperties = {
4
4
  deriveAddress: RemoteApiPropertyType.MethodReturningPromise,
5
5
  derivePublicKey: RemoteApiPropertyType.MethodReturningPromise,
6
+ getAccountIndex: RemoteApiPropertyType.MethodReturningPromise,
6
7
  getBip32Ed25519: RemoteApiPropertyType.MethodReturningPromise,
7
8
  getChainId: RemoteApiPropertyType.MethodReturningPromise,
8
9
  getExtendedAccountPublicKey: RemoteApiPropertyType.MethodReturningPromise,
9
- knownAddresses$: RemoteApiPropertyType.HotObservable,
10
- setKnownAddresses: RemoteApiPropertyType.MethodReturningPromise,
11
10
  signBlob: RemoteApiPropertyType.MethodReturningPromise,
12
11
  signTransaction: RemoteApiPropertyType.MethodReturningPromise
13
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,UAAU,YAAY,CAAC;AAEjF,MAAM,CAAC,MAAM,kBAAkB,GAAuC;IACpE,aAAa,EAAE,qBAAqB,CAAC,sBAAsB;IAC3D,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;IAC7D,UAAU,EAAE,qBAAqB,CAAC,sBAAsB;IACxD,2BAA2B,EAAE,qBAAqB,CAAC,sBAAsB;IACzE,eAAe,EAAE,qBAAqB,CAAC,aAAa;IACpD,iBAAiB,EAAE,qBAAqB,CAAC,sBAAsB;IAC/D,QAAQ,EAAE,qBAAqB,CAAC,sBAAsB;IACtD,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;CAC9D,CAAC"}
1
+ {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/keyAgent/util.ts"],"names":[],"mappings":"AACA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,UAAkB,EAAE,EAAE,CAAC,GAAG,UAAU,YAAY,CAAC;AAEjF,MAAM,CAAC,MAAM,kBAAkB,GAAuC;IACpE,aAAa,EAAE,qBAAqB,CAAC,sBAAsB;IAC3D,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;IAC7D,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;IAC7D,UAAU,EAAE,qBAAqB,CAAC,sBAAsB;IACxD,2BAA2B,EAAE,qBAAqB,CAAC,sBAAsB;IACzE,QAAQ,EAAE,qBAAqB,CAAC,sBAAsB;IACtD,eAAe,EAAE,qBAAqB,CAAC,sBAAsB;CAC9D,CAAC"}