@airgap/coinlib-core 0.13.7-beta.16 → 0.13.7-beta.17

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.
@@ -30956,6 +30956,7 @@ function implementsInterface(object, schema) {
30956
30956
  exports.implementsInterface = implementsInterface;
30957
30957
  function hasConfigurableContract(object) {
30958
30958
  return implementsInterface(object, {
30959
+ getContractAddress: 'required',
30959
30960
  setContractAddress: 'required'
30960
30961
  });
30961
30962
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/coinlib-core",
3
- "version": "0.13.7-beta.16",
3
+ "version": "0.13.7-beta.17",
4
4
  "description": "The @airgap/coinlib-core is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.",
5
5
  "keywords": [
6
6
  "airgap",
@@ -1,3 +1,4 @@
1
1
  export interface HasConfigurableContract {
2
+ getContractAddress(): Promise<string | undefined>;
2
3
  setContractAddress(address: string): Promise<void>;
3
4
  }
@@ -10,6 +10,7 @@ function implementsInterface(object, schema) {
10
10
  exports.implementsInterface = implementsInterface;
11
11
  function hasConfigurableContract(object) {
12
12
  return implementsInterface(object, {
13
+ getContractAddress: 'required',
13
14
  setContractAddress: 'required'
14
15
  });
15
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/utils/interfaces.ts"],"names":[],"mappings":";;;AAEA,SAAgB,mBAAmB,CAAI,MAAe,EAAE,MAAgD;IACtG,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,MAAM,EAAE;QACzC,OAAO,KAAK,CAAA;KACb;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,UAAC,GAAG,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,KAAK,UAAU,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,EAAvD,CAAuD,CAAC,CAAA;AACpG,CAAC;AAND,kDAMC;AAED,SAAgB,uBAAuB,CAAC,MAAe;IACrD,OAAO,mBAAmB,CAA0B,MAAM,EAAE;QAC1D,kBAAkB,EAAE,UAAU;KAC/B,CAAC,CAAA;AACJ,CAAC;AAJD,0DAIC"}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/utils/interfaces.ts"],"names":[],"mappings":";;;AAEA,SAAgB,mBAAmB,CAAI,MAAe,EAAE,MAAgD;IACtG,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,CAAC,MAAM,EAAE;QACzC,OAAO,KAAK,CAAA;KACb;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,UAAC,GAAG,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,KAAK,UAAU,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,EAAvD,CAAuD,CAAC,CAAA;AACpG,CAAC;AAND,kDAMC;AAED,SAAgB,uBAAuB,CAAC,MAAe;IACrD,OAAO,mBAAmB,CAA0B,MAAM,EAAE;QAC1D,kBAAkB,EAAE,UAAU;QAC9B,kBAAkB,EAAE,UAAU;KAC/B,CAAC,CAAA;AACJ,CAAC;AALD,0DAKC"}