@metamask-previews/earn-controller 2.0.1-preview-2bb8758e → 3.0.0-preview-32f9004a

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,YAAY,CAAC;AAEpD,eAAO,MAAM,8BAA8B,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ export const HOODI_TESTNET_CHAIN_ID_HEX = '0x88bb0';
2
+ export const HOODI_TESTNET_CHAIN_ID_DECIMAL = 560048;
3
+ //# sourceMappingURL=constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.mjs","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC;AAEpD,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC","sourcesContent":["export const HOODI_TESTNET_CHAIN_ID_HEX = '0x88bb0';\n\nexport const HOODI_TESTNET_CHAIN_ID_DECIMAL = 560048;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.cjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type RefreshStakingEligibilityOptions = {\n address?: string;\n};\n\nexport type RefreshPooledStakesOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshPooledStakingDataOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshLendingPositionsOptions = {\n address?: string;\n};\n\nexport type RefreshLendingEligibilityOptions = {\n address?: string;\n};\n"]}
1
+ {"version":3,"file":"types.cjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type RefreshEarnEligibilityOptions = {\n address?: string;\n};\n\nexport type RefreshPooledStakesOptions = {\n resetCache?: boolean;\n address?: string;\n};\n\nexport type RefreshPooledStakingDataOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshLendingPositionsOptions = {\n address?: string;\n};\n\nexport type RefreshLendingEligibilityOptions = {\n address?: string;\n};\n"]}
package/dist/types.d.cts CHANGED
@@ -1,10 +1,9 @@
1
- export type RefreshStakingEligibilityOptions = {
1
+ export type RefreshEarnEligibilityOptions = {
2
2
  address?: string;
3
3
  };
4
4
  export type RefreshPooledStakesOptions = {
5
5
  resetCache?: boolean;
6
6
  address?: string;
7
- chainId?: number;
8
7
  };
9
8
  export type RefreshPooledStakingDataOptions = {
10
9
  resetCache?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"types.d.cts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
package/dist/types.d.mts CHANGED
@@ -1,10 +1,9 @@
1
- export type RefreshStakingEligibilityOptions = {
1
+ export type RefreshEarnEligibilityOptions = {
2
2
  address?: string;
3
3
  };
4
4
  export type RefreshPooledStakesOptions = {
5
5
  resetCache?: boolean;
6
6
  address?: string;
7
- chainId?: number;
8
7
  };
9
8
  export type RefreshPooledStakingDataOptions = {
10
9
  resetCache?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type RefreshStakingEligibilityOptions = {\n address?: string;\n};\n\nexport type RefreshPooledStakesOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshPooledStakingDataOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshLendingPositionsOptions = {\n address?: string;\n};\n\nexport type RefreshLendingEligibilityOptions = {\n address?: string;\n};\n"]}
1
+ {"version":3,"file":"types.mjs","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export type RefreshEarnEligibilityOptions = {\n address?: string;\n};\n\nexport type RefreshPooledStakesOptions = {\n resetCache?: boolean;\n address?: string;\n};\n\nexport type RefreshPooledStakingDataOptions = {\n resetCache?: boolean;\n address?: string;\n chainId?: number;\n};\n\nexport type RefreshLendingPositionsOptions = {\n address?: string;\n};\n\nexport type RefreshLendingEligibilityOptions = {\n address?: string;\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/earn-controller",
3
- "version": "2.0.1-preview-2bb8758e",
3
+ "version": "3.0.0-preview-32f9004a",
4
4
  "description": "Manages state for earning features and coordinates interactions between staking services, SDK integrations, and other controllers to enable users to participate in various earning opportunities",
5
5
  "keywords": [
6
6
  "MetaMask",