@metamask-previews/sample-controllers 4.0.4-preview-16512b784 → 4.0.4-preview-4014adf
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.
- package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.cjs.map +1 -1
- package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.d.cts +4 -4
- package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.d.mts +4 -4
- package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.mjs.map +1 -1
- package/package.json +2 -2
package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sample-gas-prices-service-method-action-types.cjs","sourceRoot":"","sources":["../../src/sample-gas-prices-service/sample-gas-prices-service-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SampleGasPricesService } from './sample-gas-prices-service';\n\n/**\n *
|
|
1
|
+
{"version":3,"file":"sample-gas-prices-service-method-action-types.cjs","sourceRoot":"","sources":["../../src/sample-gas-prices-service/sample-gas-prices-service-method-action-types.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SampleGasPricesService } from './sample-gas-prices-service';\n\n/**\n * Fetches the latest gas prices for the given chain and persists them to\n * state.\n *\n * @param args - The arguments to the function.\n * @param args.chainId - The chain ID for which to fetch gas prices.\n */\nexport type SampleGasPricesServiceFetchGasPricesAction = {\n type: `SampleGasPricesService:fetchGasPrices`;\n handler: SampleGasPricesService['fetchGasPrices'];\n};\n\n/**\n * Union of all SampleGasPricesService action types.\n */\nexport type SampleGasPricesServiceMethodActions =\n SampleGasPricesServiceFetchGasPricesAction;\n"]}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { SampleGasPricesService } from "./sample-gas-prices-service.cjs";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Fetches the latest gas prices for the given chain and persists them to
|
|
8
|
+
* state.
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
11
|
-
* @
|
|
10
|
+
* @param args - The arguments to the function.
|
|
11
|
+
* @param args.chainId - The chain ID for which to fetch gas prices.
|
|
12
12
|
*/
|
|
13
13
|
export type SampleGasPricesServiceFetchGasPricesAction = {
|
|
14
14
|
type: `SampleGasPricesService:fetchGasPrices`;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { SampleGasPricesService } from "./sample-gas-prices-service.mjs";
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* Fetches the latest gas prices for the given chain and persists them to
|
|
8
|
+
* state.
|
|
9
9
|
*
|
|
10
|
-
* @param
|
|
11
|
-
* @
|
|
10
|
+
* @param args - The arguments to the function.
|
|
11
|
+
* @param args.chainId - The chain ID for which to fetch gas prices.
|
|
12
12
|
*/
|
|
13
13
|
export type SampleGasPricesServiceFetchGasPricesAction = {
|
|
14
14
|
type: `SampleGasPricesService:fetchGasPrices`;
|
package/dist/sample-gas-prices-service/sample-gas-prices-service-method-action-types.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sample-gas-prices-service-method-action-types.mjs","sourceRoot":"","sources":["../../src/sample-gas-prices-service/sample-gas-prices-service-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SampleGasPricesService } from './sample-gas-prices-service';\n\n/**\n *
|
|
1
|
+
{"version":3,"file":"sample-gas-prices-service-method-action-types.mjs","sourceRoot":"","sources":["../../src/sample-gas-prices-service/sample-gas-prices-service-method-action-types.ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * This file is auto generated.\n * Do not edit manually.\n */\n\nimport type { SampleGasPricesService } from './sample-gas-prices-service';\n\n/**\n * Fetches the latest gas prices for the given chain and persists them to\n * state.\n *\n * @param args - The arguments to the function.\n * @param args.chainId - The chain ID for which to fetch gas prices.\n */\nexport type SampleGasPricesServiceFetchGasPricesAction = {\n type: `SampleGasPricesService:fetchGasPrices`;\n handler: SampleGasPricesService['fetchGasPrices'];\n};\n\n/**\n * Union of all SampleGasPricesService action types.\n */\nexport type SampleGasPricesServiceMethodActions =\n SampleGasPricesServiceFetchGasPricesAction;\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/sample-controllers",
|
|
3
|
-
"version": "4.0.4-preview-
|
|
3
|
+
"version": "4.0.4-preview-4014adf",
|
|
4
4
|
"description": "Sample package to illustrate best practices for controllers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"build:docs": "typedoc",
|
|
41
41
|
"changelog:update": "../../scripts/update-changelog.sh @metamask/sample-controllers",
|
|
42
42
|
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/sample-controllers",
|
|
43
|
-
"generate-method-action-types": "tsx ../../
|
|
43
|
+
"generate-method-action-types": "tsx ../../scripts/generate-method-action-types.ts",
|
|
44
44
|
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
45
45
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
46
46
|
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
|