@metamask/money-account-api-data-service 0.1.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.
- package/CHANGELOG.md +21 -0
- package/LICENSE +21 -0
- package/LICENSE.APACHE2 +201 -0
- package/LICENSE.MIT +21 -0
- package/README.md +26 -0
- package/dist/constants.cjs +31 -0
- package/dist/constants.cjs.map +1 -0
- package/dist/constants.d.cts +23 -0
- package/dist/constants.d.cts.map +1 -0
- package/dist/constants.d.mts +23 -0
- package/dist/constants.d.mts.map +1 -0
- package/dist/constants.mjs +28 -0
- package/dist/constants.mjs.map +1 -0
- package/dist/errors.cjs +16 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.cts +8 -0
- package/dist/errors.d.cts.map +1 -0
- package/dist/errors.d.mts +8 -0
- package/dist/errors.d.mts.map +1 -0
- package/dist/errors.mjs +12 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/index.cjs +10 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -0
- package/dist/logger.cjs +7 -0
- package/dist/logger.cjs.map +1 -0
- package/dist/logger.d.cts +5 -0
- package/dist/logger.d.cts.map +1 -0
- package/dist/logger.d.mts +5 -0
- package/dist/logger.d.mts.map +1 -0
- package/dist/logger.mjs +4 -0
- package/dist/logger.mjs.map +1 -0
- package/dist/money-account-api-data-service-method-action-types.cjs +7 -0
- package/dist/money-account-api-data-service-method-action-types.cjs.map +1 -0
- package/dist/money-account-api-data-service-method-action-types.d.cts +60 -0
- package/dist/money-account-api-data-service-method-action-types.d.cts.map +1 -0
- package/dist/money-account-api-data-service-method-action-types.d.mts +60 -0
- package/dist/money-account-api-data-service-method-action-types.d.mts.map +1 -0
- package/dist/money-account-api-data-service-method-action-types.mjs +6 -0
- package/dist/money-account-api-data-service-method-action-types.mjs.map +1 -0
- package/dist/money-account-api-data-service.cjs +228 -0
- package/dist/money-account-api-data-service.cjs.map +1 -0
- package/dist/money-account-api-data-service.d.cts +112 -0
- package/dist/money-account-api-data-service.d.cts.map +1 -0
- package/dist/money-account-api-data-service.d.mts +112 -0
- package/dist/money-account-api-data-service.d.mts.map +1 -0
- package/dist/money-account-api-data-service.mjs +224 -0
- package/dist/money-account-api-data-service.mjs.map +1 -0
- package/dist/response.types.cjs +3 -0
- package/dist/response.types.cjs.map +1 -0
- package/dist/response.types.d.cts +78 -0
- package/dist/response.types.d.cts.map +1 -0
- package/dist/response.types.d.mts +78 -0
- package/dist/response.types.d.mts.map +1 -0
- package/dist/response.types.mjs +2 -0
- package/dist/response.types.mjs.map +1 -0
- package/dist/structs.cjs +89 -0
- package/dist/structs.cjs.map +1 -0
- package/dist/structs.d.cts +230 -0
- package/dist/structs.d.cts.map +1 -0
- package/dist/structs.d.mts +230 -0
- package/dist/structs.d.mts.map +1 -0
- package/dist/structs.mjs +86 -0
- package/dist/structs.mjs.map +1 -0
- package/dist/types.cjs +3 -0
- package/dist/types.cjs.map +1 -0
- package/dist/types.d.cts +30 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.mts +30 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +2 -0
- package/dist/types.mjs.map +1 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@metamask/money-account-api-data-service",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Data service for fetching Money account positions, interest, cash-flow history, and vault rate history from the Money Account API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Ethereum",
|
|
7
|
+
"MetaMask"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/MetaMask/core/tree/main/packages/money-account-api-data-service#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/MetaMask/core/issues"
|
|
12
|
+
},
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/MetaMask/core.git"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"main": "./dist/index.cjs",
|
|
23
|
+
"types": "./dist/index.d.cts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"import": {
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"require": {
|
|
31
|
+
"types": "./dist/index.d.cts",
|
|
32
|
+
"default": "./dist/index.cjs"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public",
|
|
39
|
+
"registry": "https://registry.npmjs.org/"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
|
|
43
|
+
"build:all": "ts-bridge --project tsconfig.build.json --verbose --clean",
|
|
44
|
+
"build:docs": "typedoc",
|
|
45
|
+
"changelog:update": "../../scripts/update-changelog.sh @metamask/money-account-api-data-service",
|
|
46
|
+
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/money-account-api-data-service",
|
|
47
|
+
"messenger-action-types:check": "tsx ../../packages/messenger-cli/src/cli.ts --formatter oxfmt --check",
|
|
48
|
+
"messenger-action-types:generate": "tsx ../../packages/messenger-cli/src/cli.ts --formatter oxfmt --generate",
|
|
49
|
+
"since-latest-release": "../../scripts/since-latest-release.sh",
|
|
50
|
+
"test": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
|
|
51
|
+
"test:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
|
|
52
|
+
"test:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
|
|
53
|
+
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@metamask/base-data-service": "^0.1.3",
|
|
57
|
+
"@metamask/controller-utils": "^12.3.0",
|
|
58
|
+
"@metamask/messenger": "^2.0.0",
|
|
59
|
+
"@metamask/superstruct": "^3.1.0",
|
|
60
|
+
"@metamask/utils": "^11.11.0",
|
|
61
|
+
"@tanstack/query-core": "^4.43.0"
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@metamask/auto-changelog": "^6.1.0",
|
|
65
|
+
"@ts-bridge/cli": "^0.6.4",
|
|
66
|
+
"@types/jest": "^29.5.14",
|
|
67
|
+
"deepmerge": "^4.2.2",
|
|
68
|
+
"jest": "^29.7.0",
|
|
69
|
+
"nock": "^13.3.1",
|
|
70
|
+
"ts-jest": "^29.2.5",
|
|
71
|
+
"tsx": "^4.20.5",
|
|
72
|
+
"typedoc": "^0.25.13",
|
|
73
|
+
"typedoc-plugin-missing-exports": "^2.0.0",
|
|
74
|
+
"typescript": "~5.3.3"
|
|
75
|
+
},
|
|
76
|
+
"engines": {
|
|
77
|
+
"node": "^18.18 || >=20"
|
|
78
|
+
}
|
|
79
|
+
}
|