tapimo 0.0.1 → 0.0.2
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/README.md +2 -1
- package/dist/admin/App.d.ts +123 -123
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +13 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/balances.d.ts +43 -43
- package/dist/apps/coingecko.d.ts +176 -176
- package/dist/apps/coingecko.js +1 -1
- package/dist/apps/coingecko.js.map +1 -1
- package/dist/apps/tokenlist.d.ts +36 -36
- package/dist/internal/Auth.js +6 -1
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Store.js +22 -5
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/Viem.d.ts +81 -7
- package/dist/internal/Viem.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/App.test.ts +1 -1
- package/src/admin/ui.generated.ts +13 -13
- package/src/apps/coingecko.ts +1 -1
- package/src/apps/indexer.test.ts +1 -1
- package/src/apps/webhooks.test.ts +1 -1
- package/src/internal/Auth.test.ts +59 -1
- package/src/internal/Auth.ts +6 -1
- package/src/internal/Store.test.ts +84 -0
- package/src/internal/Store.ts +24 -5
- package/src/internal/Viem.ts +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.generated.js","sourceRoot":"","sources":["../../src/admin/ui.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,uEAAuE;AACvE,oBAAoB;AASpB,2EAA2E;AAC3E,MAAM,CAAC,MAAM,KAAK,GAChB,6hDAA6hD,CAAA;AAE/hD,gGAAgG;AAChG,MAAM,CAAC,MAAM,MAAM,GAA0B;IAC3C,6BAA6B,EAAE;QAC7B,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ui.generated.js","sourceRoot":"","sources":["../../src/admin/ui.generated.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,uEAAuE;AACvE,oBAAoB;AASpB,2EAA2E;AAC3E,MAAM,CAAC,MAAM,KAAK,GAChB,6hDAA6hD,CAAA;AAE/hD,gGAAgG;AAChG,MAAM,CAAC,MAAM,MAAM,GAA0B;IAC3C,6BAA6B,EAAE;QAC7B,OAAO,EACL,glsBAAglsB;QACllsB,WAAW,EAAE,gCAAgC;KAC9C;IACD,yBAAyB,EAAE;QACzB,OAAO,EACL,i/IAAi/I;QACn/I,WAAW,EAAE,gCAAgC;KAC9C;IACD,2BAA2B,EAAE;QAC3B,OAAO,EACL,m1wIAAm1wI;QACr1wI,WAAW,EAAE,gCAAgC;KAC9C;IACD,0BAA0B,EAAE;QAC1B,OAAO,EACL,2potBAA2potB;QAC7potB,WAAW,EAAE,gCAAgC;KAC9C;IACD,kCAAkC,EAAE;QAClC,OAAO,EACL,kgvDAAkgvD;QACpgvD,WAAW,EAAE,YAAY;QACzB,QAAQ,EAAE,QAAQ;KACnB;IACD,qCAAqC,EAAE;QACrC,OAAO,EACL,0yuDAA0yuD;QAC5yuD,WAAW,EAAE,YAAY;QACzB,QAAQ,EAAE,QAAQ;KACnB;IACD,4BAA4B,EAAE;QAC5B,OAAO,EACL,kkqDAAkkqD;QACpkqD,WAAW,EAAE,yBAAyB;KACvC;IACD,oCAAoC,EAAE;QACpC,OAAO,EACL,ixzBAAixzB;QACnxzB,WAAW,EAAE,gCAAgC;KAC9C;CACF,CAAA"}
|
package/dist/apps/balances.d.ts
CHANGED
|
@@ -86,9 +86,31 @@ export declare namespace schema {
|
|
|
86
86
|
export declare function addresses(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
87
87
|
"/:address/balances": {
|
|
88
88
|
$get: {
|
|
89
|
-
output:
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
output: {
|
|
90
|
+
data: {
|
|
91
|
+
amount: string;
|
|
92
|
+
formatted: string;
|
|
93
|
+
id: string;
|
|
94
|
+
feeEligible?: boolean | undefined;
|
|
95
|
+
token: {
|
|
96
|
+
address: `0x${string}`;
|
|
97
|
+
currency: string;
|
|
98
|
+
decimals: number;
|
|
99
|
+
id: string;
|
|
100
|
+
logoUri?: string | undefined;
|
|
101
|
+
name: string;
|
|
102
|
+
symbol: string;
|
|
103
|
+
verified: boolean;
|
|
104
|
+
};
|
|
105
|
+
}[];
|
|
106
|
+
meta?: {
|
|
107
|
+
totalCountCapped: boolean;
|
|
108
|
+
totalCount: number;
|
|
109
|
+
} | undefined;
|
|
110
|
+
nextCursor: string | null;
|
|
111
|
+
};
|
|
112
|
+
outputFormat: "json";
|
|
113
|
+
status: 200;
|
|
92
114
|
input: {
|
|
93
115
|
param: {
|
|
94
116
|
address: `0x${string}`;
|
|
@@ -135,14 +157,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
135
157
|
} | {
|
|
136
158
|
output: {
|
|
137
159
|
error: {
|
|
138
|
-
code: "
|
|
160
|
+
code: "address_invalid";
|
|
139
161
|
details?: readonly Response.error.Detail[] | undefined;
|
|
140
162
|
message: string;
|
|
141
163
|
};
|
|
142
164
|
requestId: string;
|
|
143
165
|
};
|
|
144
166
|
outputFormat: "json";
|
|
145
|
-
status:
|
|
167
|
+
status: 400;
|
|
146
168
|
input: {
|
|
147
169
|
param: {
|
|
148
170
|
address: `0x${string}`;
|
|
@@ -162,14 +184,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
162
184
|
} | {
|
|
163
185
|
output: {
|
|
164
186
|
error: {
|
|
165
|
-
code: "
|
|
187
|
+
code: "query_invalid";
|
|
166
188
|
details?: readonly Response.error.Detail[] | undefined;
|
|
167
189
|
message: string;
|
|
168
190
|
};
|
|
169
191
|
requestId: string;
|
|
170
192
|
};
|
|
171
193
|
outputFormat: "json";
|
|
172
|
-
status:
|
|
194
|
+
status: 400;
|
|
173
195
|
input: {
|
|
174
196
|
param: {
|
|
175
197
|
address: `0x${string}`;
|
|
@@ -189,14 +211,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
189
211
|
} | {
|
|
190
212
|
output: {
|
|
191
213
|
error: {
|
|
192
|
-
code: "
|
|
214
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
193
215
|
details?: readonly Response.error.Detail[] | undefined;
|
|
194
216
|
message: string;
|
|
195
217
|
};
|
|
196
218
|
requestId: string;
|
|
197
219
|
};
|
|
198
220
|
outputFormat: "json";
|
|
199
|
-
status:
|
|
221
|
+
status: 401;
|
|
200
222
|
input: {
|
|
201
223
|
param: {
|
|
202
224
|
address: `0x${string}`;
|
|
@@ -214,16 +236,9 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
214
236
|
} | undefined;
|
|
215
237
|
};
|
|
216
238
|
} | {
|
|
217
|
-
output:
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
221
|
-
message: string;
|
|
222
|
-
};
|
|
223
|
-
requestId: string;
|
|
224
|
-
};
|
|
225
|
-
outputFormat: "json";
|
|
226
|
-
status: 400;
|
|
239
|
+
output: null;
|
|
240
|
+
outputFormat: "body";
|
|
241
|
+
status: 402;
|
|
227
242
|
input: {
|
|
228
243
|
param: {
|
|
229
244
|
address: `0x${string}`;
|
|
@@ -243,14 +258,14 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
243
258
|
} | {
|
|
244
259
|
output: {
|
|
245
260
|
error: {
|
|
246
|
-
code: "
|
|
261
|
+
code: "api_key_forbidden";
|
|
247
262
|
details?: readonly Response.error.Detail[] | undefined;
|
|
248
263
|
message: string;
|
|
249
264
|
};
|
|
250
265
|
requestId: string;
|
|
251
266
|
};
|
|
252
267
|
outputFormat: "json";
|
|
253
|
-
status:
|
|
268
|
+
status: 403;
|
|
254
269
|
input: {
|
|
255
270
|
param: {
|
|
256
271
|
address: `0x${string}`;
|
|
@@ -269,30 +284,15 @@ export declare function addresses(): import("hono/hono-base").HonoBase<App.Envir
|
|
|
269
284
|
};
|
|
270
285
|
} | {
|
|
271
286
|
output: {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
address: `0x${string}`;
|
|
279
|
-
currency: string;
|
|
280
|
-
decimals: number;
|
|
281
|
-
id: string;
|
|
282
|
-
logoUri?: string | undefined;
|
|
283
|
-
name: string;
|
|
284
|
-
symbol: string;
|
|
285
|
-
verified: boolean;
|
|
286
|
-
};
|
|
287
|
-
}[];
|
|
288
|
-
meta?: {
|
|
289
|
-
totalCountCapped: boolean;
|
|
290
|
-
totalCount: number;
|
|
291
|
-
} | undefined;
|
|
292
|
-
nextCursor: string | null;
|
|
287
|
+
error: {
|
|
288
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
289
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
290
|
+
message: string;
|
|
291
|
+
};
|
|
292
|
+
requestId: string;
|
|
293
293
|
};
|
|
294
294
|
outputFormat: "json";
|
|
295
|
-
status:
|
|
295
|
+
status: 429;
|
|
296
296
|
input: {
|
|
297
297
|
param: {
|
|
298
298
|
address: `0x${string}`;
|