@ape.swap/bonds-sdk 1.0.32 → 1.0.34
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/App.d.ts +4 -0
- package/dist/App.js +12 -0
- package/dist/MyComponent.d.ts +3 -0
- package/dist/MyComponent.js +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/setupTests.js +5 -0
- package/package.json +15 -139
- package/dist/cjs/index.js +0 -141201
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/types/App.d.ts +0 -3
- package/dist/cjs/types/App.test.d.ts +0 -1
- package/dist/cjs/types/index.d.ts +0 -1
- package/dist/cjs/types/reportWebVitals.d.ts +0 -3
- package/dist/cjs/types/theme/base.d.ts +0 -103
- package/dist/cjs/types/theme/colors.d.ts +0 -88
- package/dist/cjs/types/theme/components.d.ts +0 -439
- package/dist/cjs/types/theme/display.d.ts +0 -2
- package/dist/cjs/types/theme/index.d.ts +0 -2
- package/dist/cjs/types/theme/types.d.ts +0 -10
- package/dist/cjs/types/views/Bonds/Bonds.d.ts +0 -7
- package/dist/cjs/types/views/Bonds/index.d.ts +0 -1
- package/dist/cjs/types/views/Bonds/styles.d.ts +0 -4
- package/dist/cjs/types/views/Bonds/type.d.ts +0 -33
- package/dist/cjs/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
- package/dist/cjs/types/views/BondsWithProvider/index.d.ts +0 -1
- package/dist/cjs/types/views/index.d.ts +0 -1
- package/dist/cjs/types/wallet/ConnectionOptions.d.ts +0 -9
- package/dist/cjs/types/wallet/Option.d.ts +0 -8
- package/dist/cjs/types/wallet/config.d.ts +0 -13
- package/dist/cjs/types/wallet/connections.d.ts +0 -21
- package/dist/cjs/types/wallet/constants.d.ts +0 -21
- package/dist/cjs/types/wallet/injected.d.ts +0 -2
- package/dist/cjs/types/wallet/network.d.ts +0 -2
- package/dist/cjs/types/wallet/provider.d.ts +0 -4
- package/dist/cjs/types/wallet/wallet-connect.d.ts +0 -2
- package/dist/esm/index.js +0 -141181
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/types/App.d.ts +0 -3
- package/dist/esm/types/App.test.d.ts +0 -1
- package/dist/esm/types/index.d.ts +0 -1
- package/dist/esm/types/reportWebVitals.d.ts +0 -3
- package/dist/esm/types/setupTests.d.ts +0 -1
- package/dist/esm/types/theme/base.d.ts +0 -103
- package/dist/esm/types/theme/colors.d.ts +0 -88
- package/dist/esm/types/theme/components.d.ts +0 -439
- package/dist/esm/types/theme/display.d.ts +0 -2
- package/dist/esm/types/theme/index.d.ts +0 -2
- package/dist/esm/types/theme/types.d.ts +0 -10
- package/dist/esm/types/views/Bonds/Bonds.d.ts +0 -7
- package/dist/esm/types/views/Bonds/index.d.ts +0 -1
- package/dist/esm/types/views/Bonds/styles.d.ts +0 -4
- package/dist/esm/types/views/Bonds/type.d.ts +0 -33
- package/dist/esm/types/views/BondsWithProvider/BondsWithProvider.d.ts +0 -3
- package/dist/esm/types/views/BondsWithProvider/index.d.ts +0 -1
- package/dist/esm/types/views/index.d.ts +0 -1
- package/dist/esm/types/wallet/ConnectionOptions.d.ts +0 -9
- package/dist/esm/types/wallet/Option.d.ts +0 -8
- package/dist/esm/types/wallet/config.d.ts +0 -13
- package/dist/esm/types/wallet/connections.d.ts +0 -21
- package/dist/esm/types/wallet/constants.d.ts +0 -21
- package/dist/esm/types/wallet/injected.d.ts +0 -2
- package/dist/esm/types/wallet/network.d.ts +0 -2
- package/dist/esm/types/wallet/provider.d.ts +0 -4
- package/dist/esm/types/wallet/wallet-connect.d.ts +0 -2
- /package/dist/{cjs/types/setupTests.d.ts → setupTests.d.ts} +0 -0
package/dist/App.d.ts
ADDED
package/dist/App.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './App.css';
|
|
3
|
+
function App() {
|
|
4
|
+
return (React.createElement("div", { className: "App" },
|
|
5
|
+
React.createElement("header", { className: "App-header" },
|
|
6
|
+
React.createElement("p", null,
|
|
7
|
+
"Edit ",
|
|
8
|
+
React.createElement("code", null, "src/App.tsx"),
|
|
9
|
+
" and save to reload."),
|
|
10
|
+
React.createElement("a", { className: "App-link", href: "https://reactjs.org", target: "_blank", rel: "noopener noreferrer" }, "Learn React"))));
|
|
11
|
+
}
|
|
12
|
+
export default App;
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -3,153 +3,29 @@
|
|
|
3
3
|
"description": "Ape Bond SDK",
|
|
4
4
|
"author": "Ape Bond",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.0.
|
|
7
|
-
"main": "dist/
|
|
8
|
-
"module": "dist/
|
|
9
|
-
"types": "dist/
|
|
6
|
+
"version": "1.0.34",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.es.js",
|
|
9
|
+
"types": "dist/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"start": "react-scripts start"
|
|
17
|
+
},
|
|
13
18
|
"peerDependencies": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"ethers": "5.7.2",
|
|
17
|
-
"framer-motion": "^9.0.1",
|
|
18
|
-
"react": "^18.2.0",
|
|
19
|
-
"react-dom": "^18.2.0",
|
|
20
|
-
"theme-ui": "^0.16.2"
|
|
19
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
20
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"
|
|
26
|
-
"@emotion/react": "^11.10.5",
|
|
27
|
-
"@emotion/styled": "^11.10.6",
|
|
28
|
-
"@reduxjs/toolkit": "^1.9.1",
|
|
29
|
-
"@rollup/plugin-babel": "^5.3.0",
|
|
30
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
31
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
32
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
33
|
-
"@rollup/plugin-replace": "^5.0.7",
|
|
34
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
35
|
-
"@tanstack/react-query": "4",
|
|
36
|
-
"@tanstack/react-query-devtools": "^4.29.19",
|
|
37
|
-
"@testing-library/jest-dom": "^5.17.0",
|
|
38
|
-
"@testing-library/react": "^13.4.0",
|
|
39
|
-
"@testing-library/user-event": "^13.5.0",
|
|
40
|
-
"@types/jest": "^27.5.2",
|
|
41
|
-
"@types/lodash": "^4.17.6",
|
|
42
|
-
"@types/node": "^16.18.101",
|
|
43
|
-
"@types/react": "^18.3.3",
|
|
44
|
-
"@types/react-dom": "^18.3.0",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
46
|
-
"@typescript-eslint/parser": "^7.6.0",
|
|
47
|
-
"@uniswap/redux-multicall": "^1.1.8",
|
|
48
|
-
"@uniswap/token-lists": "^1.0.0-beta.31",
|
|
49
|
-
"@web3-react/coinbase-wallet": "^8.2.0",
|
|
50
|
-
"@web3-react/core": "^8.2.0",
|
|
51
|
-
"@web3-react/eip1193": "^8.2.0",
|
|
52
|
-
"@web3-react/empty": "^8.2.0",
|
|
53
|
-
"@web3-react/gnosis-safe": "^8.2.0",
|
|
54
|
-
"@web3-react/metamask": "^8.2.1",
|
|
55
|
-
"@web3-react/network": "^8.2.0",
|
|
56
|
-
"@web3-react/types": "^8.2.0",
|
|
57
|
-
"@web3-react/url": "^8.2.0",
|
|
58
|
-
"@web3-react/walletconnect-v2": "^8.3.3",
|
|
59
|
-
"axios": "1.6.8",
|
|
60
|
-
"cids": "^1.1.9",
|
|
61
|
-
"eslint": "8.57.0",
|
|
62
|
-
"eslint-plugin-react": "^7.34.1",
|
|
63
|
-
"ethers": "5.7.2",
|
|
64
|
-
"framer-motion": "^9.0.1",
|
|
65
|
-
"lodash": "^4.17.21",
|
|
66
|
-
"lottie-react": "^2.4.0",
|
|
67
|
-
"multicodec": "^3.2.1",
|
|
68
|
-
"next": "13.5.6",
|
|
69
|
-
"numbro": "^2.3.6",
|
|
70
|
-
"prettier": "^3.2.5",
|
|
71
|
-
"react": "^18.3.1",
|
|
72
|
-
"react-dom": "^18.3.1",
|
|
73
|
-
"react-redux": "^8.0.5",
|
|
74
|
-
"react-scripts": "5.0.1",
|
|
75
|
-
"rimraf": "^5.0.5",
|
|
76
|
-
"rollup": "^4.14.0",
|
|
77
|
-
"rollup-plugin-dts": "^6.1.0",
|
|
78
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
79
|
-
"theme-ui": "^0.15.3",
|
|
80
|
-
"tslib": "^2.6.2",
|
|
81
|
-
"typescript": "^4.9.5",
|
|
82
|
-
"web-vitals": "^2.1.4"
|
|
23
|
+
"@types/react": "^17.0.0 || ^18.0.0",
|
|
24
|
+
"@types/react-dom": "^17.0.0 || ^18.0.0",
|
|
25
|
+
"typescript": "^4.0.0"
|
|
83
26
|
},
|
|
84
27
|
"dependencies": {
|
|
85
|
-
"
|
|
86
|
-
"@ape.swap/sdk-core": "^1.0.2",
|
|
87
|
-
"@emotion/react": "^11.11.4",
|
|
88
|
-
"@emotion/styled": "^11.10.6",
|
|
89
|
-
"@reduxjs/toolkit": "^1.9.1",
|
|
90
|
-
"@rollup/plugin-commonjs": "^25.0.7",
|
|
91
|
-
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
92
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
93
|
-
"@tanstack/react-query": "4",
|
|
94
|
-
"@tanstack/react-query-devtools": "^4.29.19",
|
|
95
|
-
"@testing-library/jest-dom": "^5.17.0",
|
|
96
|
-
"@testing-library/react": "^13.4.0",
|
|
97
|
-
"@testing-library/user-event": "^13.5.0",
|
|
98
|
-
"@types/jest": "^27.5.2",
|
|
99
|
-
"@types/lodash": "^4.17.6",
|
|
100
|
-
"@types/node": "^16.18.101",
|
|
101
|
-
"@types/react": "^18.3.3",
|
|
102
|
-
"@types/react-dom": "^18.3.0",
|
|
103
|
-
"@typescript-eslint/eslint-plugin": "^7.6.0",
|
|
104
|
-
"@typescript-eslint/parser": "^7.6.0",
|
|
105
|
-
"@uniswap/redux-multicall": "^1.1.8",
|
|
106
|
-
"@uniswap/token-lists": "^1.0.0-beta.31",
|
|
107
|
-
"@web3-react/coinbase-wallet": "^8.2.0",
|
|
108
|
-
"@web3-react/core": "^8.2.0",
|
|
109
|
-
"@web3-react/eip1193": "^8.2.0",
|
|
110
|
-
"@web3-react/empty": "^8.2.0",
|
|
111
|
-
"@web3-react/gnosis-safe": "^8.2.0",
|
|
112
|
-
"@web3-react/metamask": "^8.2.1",
|
|
113
|
-
"@web3-react/network": "^8.2.0",
|
|
114
|
-
"@web3-react/types": "^8.2.0",
|
|
115
|
-
"@web3-react/url": "^8.2.0",
|
|
116
|
-
"@web3-react/walletconnect": "^8.2.3",
|
|
117
|
-
"@web3-react/walletconnect-v2": "^8.3.3",
|
|
118
|
-
"axios": "1.6.8",
|
|
119
|
-
"cids": "^1.1.9",
|
|
120
|
-
"eslint": "8.57.0",
|
|
121
|
-
"eslint-plugin-react": "^7.34.1",
|
|
122
|
-
"ethers": "5.7.2",
|
|
123
|
-
"framer-motion": "^9.0.1",
|
|
124
|
-
"lodash": "^4.17.21",
|
|
125
|
-
"lottie-react": "^2.4.0",
|
|
126
|
-
"multicodec": "^3.2.1",
|
|
127
|
-
"next": "13.5.6",
|
|
128
|
-
"numbro": "^2.3.6",
|
|
129
|
-
"prettier": "^3.2.5",
|
|
130
|
-
"react": "^18.2.0",
|
|
131
|
-
"react-dom": "^18.2.0",
|
|
132
|
-
"react-redux": "^8.0.5",
|
|
133
|
-
"react-scripts": "5.0.1",
|
|
134
|
-
"rimraf": "^5.0.5",
|
|
135
|
-
"rollup": "^4.14.0",
|
|
136
|
-
"rollup-plugin-dts": "^6.1.0",
|
|
137
|
-
"theme-ui": "^0.16.2",
|
|
138
|
-
"tslib": "^2.6.2",
|
|
139
|
-
"typescript": "^4.9.5",
|
|
140
|
-
"web-vitals": "^2.1.4"
|
|
141
|
-
},
|
|
142
|
-
"scripts": {
|
|
143
|
-
"start": "react-scripts start",
|
|
144
|
-
"build": "rimraf dist && rollup -c",
|
|
145
|
-
"test": "react-scripts test",
|
|
146
|
-
"eject": "react-scripts eject"
|
|
147
|
-
},
|
|
148
|
-
"eslintConfig": {
|
|
149
|
-
"extends": [
|
|
150
|
-
"react-app",
|
|
151
|
-
"react-app/jest"
|
|
152
|
-
]
|
|
28
|
+
"react-scripts": "^5.0.1"
|
|
153
29
|
},
|
|
154
30
|
"browserslist": {
|
|
155
31
|
"production": [
|