tapimo 0.0.2 → 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/README.md +11 -2
- package/dist/ApiKey.d.ts +12 -11
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -12
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +139 -0
- package/dist/ApiKeys.d.ts.map +1 -0
- package/dist/ApiKeys.js +166 -0
- package/dist/ApiKeys.js.map +1 -0
- package/dist/App.d.ts +920 -910
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +36 -12
- package/dist/App.js.map +1 -1
- package/dist/Handler.d.ts +86 -0
- package/dist/Handler.d.ts.map +1 -0
- package/dist/Handler.js +83 -0
- package/dist/Handler.js.map +1 -0
- package/dist/Scope.d.ts +4 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +5 -1
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +3 -5
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +9 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/Access.d.ts +1 -3
- package/dist/admin/Access.d.ts.map +1 -1
- package/dist/admin/Access.js +1 -3
- package/dist/admin/Access.js.map +1 -1
- package/dist/admin/App.d.ts +98 -209
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +2 -4
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +7 -5
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +8 -9
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +3 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +101 -215
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +17 -38
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +1 -1
- package/dist/apps/balances.d.ts +2 -2
- package/dist/apps/receipts.d.ts +43 -43
- package/dist/apps/tokens.d.ts +454 -454
- package/dist/apps/transactions.d.ts +43 -43
- package/dist/apps/transfers.d.ts +29 -29
- package/dist/apps/webhooks.d.ts +5 -2
- package/dist/apps/webhooks.d.ts.map +1 -1
- package/dist/apps/webhooks.js +38 -34
- package/dist/apps/webhooks.js.map +1 -1
- package/dist/{Cli.d.ts → cli/Cli.d.ts} +13 -2
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +19 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +4 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +60 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cloudflare.d.ts +7 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +9 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +103 -0
- package/dist/db/Db.d.ts.map +1 -0
- package/dist/db/Db.js +274 -0
- package/dist/db/Db.js.map +1 -0
- package/dist/db/Schema.d.ts +88 -0
- package/dist/db/Schema.d.ts.map +1 -0
- package/dist/db/Schema.js +130 -0
- package/dist/db/Schema.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +79 -0
- package/dist/db/tables/organizations.d.ts.map +1 -0
- package/dist/db/tables/organizations.js +81 -0
- package/dist/db/tables/organizations.js.map +1 -0
- package/dist/db/tables/verifiedTokens.d.ts +53 -0
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokens.js +74 -0
- package/dist/db/tables/verifiedTokens.js.map +1 -0
- package/dist/db/tables/webhookDeliveries.d.ts +71 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -0
- package/dist/db/tables/webhookDeliveries.js +119 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +158 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -0
- package/dist/db/tables/webhookSubscriptions.js +272 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts +25 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -0
- package/dist/handlers/internal/executionError.js +184 -0
- package/dist/handlers/internal/executionError.js.map +1 -0
- package/dist/handlers/internal/multisig.d.ts +237 -0
- package/dist/handlers/internal/multisig.d.ts.map +1 -0
- package/dist/handlers/internal/multisig.js +567 -0
- package/dist/handlers/internal/multisig.js.map +1 -0
- package/dist/handlers/internal/requestListener.d.ts +124 -0
- package/dist/handlers/internal/requestListener.d.ts.map +1 -0
- package/dist/handlers/internal/requestListener.js +173 -0
- package/dist/handlers/internal/requestListener.js.map +1 -0
- package/dist/handlers/internal/sponsorship.d.ts +83 -0
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -0
- package/dist/handlers/internal/sponsorship.js +103 -0
- package/dist/handlers/internal/sponsorship.js.map +1 -0
- package/dist/handlers/internal/types.d.ts +284 -0
- package/dist/handlers/internal/types.d.ts.map +1 -0
- package/dist/handlers/internal/types.js +2 -0
- package/dist/handlers/internal/types.js.map +1 -0
- package/dist/handlers/internal/utils.d.ts +34 -0
- package/dist/handlers/internal/utils.d.ts.map +1 -0
- package/dist/handlers/internal/utils.js +131 -0
- package/dist/handlers/internal/utils.js.map +1 -0
- package/dist/handlers/relay.d.ts +119 -0
- package/dist/handlers/relay.d.ts.map +1 -0
- package/dist/handlers/relay.js +1264 -0
- package/dist/handlers/relay.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -10
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +72 -12
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/RpcSchema.d.ts +10 -0
- package/dist/internal/RpcSchema.d.ts.map +1 -0
- package/dist/internal/RpcSchema.js +2 -0
- package/dist/internal/RpcSchema.js.map +1 -0
- package/dist/internal/Store.d.ts +42 -3
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +65 -3
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts +15 -34
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +115 -159
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +49 -35
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +92 -205
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKey.test.ts +3 -3
- package/src/ApiKey.ts +10 -12
- package/src/ApiKeys.test.ts +175 -0
- package/src/ApiKeys.ts +205 -0
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +10768 -351
- package/src/App.ts +79 -36
- package/src/Client.test-d.ts +1 -1
- package/src/Handler.ts +154 -0
- package/src/Scope.ts +5 -1
- package/src/Webhooks.test.ts +8 -7
- package/src/Webhooks.ts +11 -5
- package/src/admin/Access.ts +1 -3
- package/src/admin/App.ts +19 -24
- package/src/admin/apps/api-keys.test.ts +19 -18
- package/src/admin/apps/api-keys.ts +8 -9
- package/src/admin/apps/scopes.test.ts +4 -0
- package/src/admin/apps/verified-tokens.test.ts +3 -30
- package/src/admin/apps/verified-tokens.ts +17 -36
- package/src/admin/ui.generated.ts +1 -1
- package/src/apps/balances.test.ts +4 -3
- package/src/apps/blocks.test.ts +1 -1
- package/src/apps/exchanges.test.ts +1 -1
- package/src/apps/indexer.test.ts +1 -1
- package/src/apps/receipts.test.ts +1 -1
- package/src/apps/rpc.test.ts +100 -10
- package/src/apps/tokenlist.test.ts +5 -7
- package/src/apps/tokens.test.ts +4 -3
- package/src/apps/transactions.test.ts +1 -1
- package/src/apps/transfers.test.ts +1 -1
- package/src/apps/verified-tokens.test.ts +24 -12
- package/src/apps/webhooks.test.ts +130 -143
- package/src/apps/webhooks.ts +45 -47
- package/src/{Cli.test.ts → cli/Cli.test.ts} +10 -9
- package/src/{Cli.ts → cli/Cli.ts} +16 -9
- package/src/cli/bin.ts +4 -0
- package/src/cli/commands/admin.test.ts +71 -0
- package/src/cli/commands/admin.ts +60 -0
- package/src/cloudflare.ts +10 -0
- package/src/db/Db.test.ts +84 -0
- package/src/db/Db.ts +383 -0
- package/src/db/Schema.ts +164 -0
- package/src/db/tables/organizations.test.ts +124 -0
- package/src/db/tables/organizations.ts +127 -0
- package/src/db/tables/verifiedTokens.ts +111 -0
- package/src/db/tables/webhookDeliveries.ts +159 -0
- package/src/db/tables/webhookSubscriptions.ts +358 -0
- package/src/handlers/internal/executionError.ts +205 -0
- package/src/handlers/internal/multisig.localnet.test.ts +146 -0
- package/src/handlers/internal/multisig.test.ts +744 -0
- package/src/handlers/internal/multisig.ts +858 -0
- package/src/handlers/internal/relay.localnet.test.ts +2035 -0
- package/src/handlers/internal/requestListener.ts +273 -0
- package/src/handlers/internal/sponsorship.ts +186 -0
- package/src/handlers/internal/types.ts +378 -0
- package/src/handlers/internal/utils.ts +153 -0
- package/src/handlers/relay.ts +1605 -0
- package/src/index.ts +4 -2
- package/src/internal/Auth.test.ts +21 -21
- package/src/internal/Auth.ts +92 -19
- package/src/internal/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +98 -10
- package/src/internal/Store.ts +112 -6
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/Webhooks.test.ts +107 -107
- package/src/internal/Webhooks.ts +102 -220
- package/dist/ApiKeySource.d.ts +0 -166
- package/dist/ApiKeySource.d.ts.map +0 -1
- package/dist/ApiKeySource.js +0 -234
- package/dist/ApiKeySource.js.map +0 -1
- package/dist/Cli.d.ts.map +0 -1
- package/dist/Cli.js +0 -13
- package/dist/Cli.js.map +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/31318/verified-tokens.json +0 -30
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +0 -4
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +0 -30
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +0 -11
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +0 -1
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +0 -5
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +0 -177
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +0 -1
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +0 -1
- package/seeds/42431/verified-tokens.json +0 -44
- package/seeds/openrpc/README.md +0 -27
- package/seeds/openrpc/execution-apis.json +0 -8989
- package/src/ApiKeySource.test-d.ts +0 -11
- package/src/ApiKeySource.test.ts +0 -295
- package/src/ApiKeySource.ts +0 -303
package/dist/ApiKeySource.d.ts
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pluggable API-key sources for Tempo API.
|
|
3
|
-
*
|
|
4
|
-
* Every backend implements one shared contract ({@link Source}) covering both
|
|
5
|
-
* the read path ({@link Source.resolve}, wired into `Auth.middleware`'s
|
|
6
|
-
* `apiKey.source`) and the provisioning path ({@link Source.mint}/{@link
|
|
7
|
-
* Source.list}/{@link Source.revoke}), so backends are interchangeable wherever a
|
|
8
|
-
* source is accepted. {@link store} is the built-in store-backed source (e.g. a
|
|
9
|
-
* Cloudflare KV namespace); {@link from} type-checks a bring-your-own backend
|
|
10
|
-
* (D1, Postgres, …) against the contract. The persisted {@link Record}/{@link
|
|
11
|
-
* MintInput} shapes live here (derived from `ApiKey.schema` so they cannot drift
|
|
12
|
-
* from the resolved shape), while the shared credential primitives (token
|
|
13
|
-
* format/generation, storage-key derivation, redaction) live in `./ApiKey.js`.
|
|
14
|
-
*/
|
|
15
|
-
import * as z from 'zod/mini';
|
|
16
|
-
import * as ApiKey from './ApiKey.js';
|
|
17
|
-
import type * as Store from './internal/Store.js';
|
|
18
|
-
/** Zod schemas owned by the API-key source module. */
|
|
19
|
-
export declare namespace schema {
|
|
20
|
-
/**
|
|
21
|
-
* Fields accepted when minting a key, and the single source of truth for the
|
|
22
|
-
* {@link MintInput} type and `mint` validation. Derived from the resolved
|
|
23
|
-
* `ApiKey.schema` (minus the generated `id`) so the scope vocabulary stays in
|
|
24
|
-
* lockstep with the resolved shape.
|
|
25
|
-
*/
|
|
26
|
-
const MintInput: z.ZodMiniObject<{
|
|
27
|
-
environment: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
28
|
-
production: "production";
|
|
29
|
-
sandbox: "sandbox";
|
|
30
|
-
}>>;
|
|
31
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
32
|
-
rateLimits: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
33
|
-
perMinute: z.ZodMiniNumber<number>;
|
|
34
|
-
}, z.core.$strip>>>;
|
|
35
|
-
scopes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
36
|
-
"*": "*";
|
|
37
|
-
"data:read": "data:read";
|
|
38
|
-
"indexer:query": "indexer:query";
|
|
39
|
-
"webhooks:read": "webhooks:read";
|
|
40
|
-
"webhooks:write": "webhooks:write";
|
|
41
|
-
}>>>;
|
|
42
|
-
createdBy: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
43
|
-
expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
44
|
-
orgId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
45
|
-
}, z.core.$strip>;
|
|
46
|
-
/**
|
|
47
|
-
* A persisted API-key record: the resolved `ApiKey.schema` plus
|
|
48
|
-
* persistence/display fields. Extending the resolved schema keeps the resolved
|
|
49
|
-
* and persisted shapes in lockstep.
|
|
50
|
-
*/
|
|
51
|
-
const Record: z.ZodMiniObject<{
|
|
52
|
-
environment: z.ZodMiniDefault<z.ZodMiniEnum<{
|
|
53
|
-
production: "production";
|
|
54
|
-
sandbox: "sandbox";
|
|
55
|
-
}>>;
|
|
56
|
-
id: z.ZodMiniString<string>;
|
|
57
|
-
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
58
|
-
orgId: z.ZodMiniString<string>;
|
|
59
|
-
rateLimits: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
60
|
-
perMinute: z.ZodMiniNumber<number>;
|
|
61
|
-
}, z.core.$strip>>>;
|
|
62
|
-
scopes: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniEnum<{
|
|
63
|
-
"*": "*";
|
|
64
|
-
"data:read": "data:read";
|
|
65
|
-
"indexer:query": "indexer:query";
|
|
66
|
-
"webhooks:read": "webhooks:read";
|
|
67
|
-
"webhooks:write": "webhooks:write";
|
|
68
|
-
}>>>;
|
|
69
|
-
createdAt: z.ZodMiniString<string>;
|
|
70
|
-
createdBy: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
71
|
-
expiresAt: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
72
|
-
tokenLast4: z.ZodMiniString<string>;
|
|
73
|
-
}, z.core.$strip>;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* A durable API-key record as persisted by a source. A superset of the resolved
|
|
77
|
-
* `ApiKey.ApiKey` with provisioning/display metadata. The plaintext token is
|
|
78
|
-
* never stored — records are keyed by its hash (`ApiKey.keyFor`) and carry only
|
|
79
|
-
* `tokenLast4` for display.
|
|
80
|
-
*/
|
|
81
|
-
export type Record = z.output<typeof schema.Record>;
|
|
82
|
-
/**
|
|
83
|
-
* Fields accepted when minting a key via {@link Source.mint}. Uses the schema's
|
|
84
|
-
* *input* type so defaulted fields (e.g. `environment`) are optional for callers
|
|
85
|
-
* — the default is applied during `mint`'s validation.
|
|
86
|
-
*/
|
|
87
|
-
export type MintInput = z.input<typeof schema.MintInput>;
|
|
88
|
-
/** Result of {@link Source.mint}: the persisted record and its one-time token. */
|
|
89
|
-
export type MintResult = {
|
|
90
|
-
/** The persisted key record (metadata only — never the token). */
|
|
91
|
-
record: Record;
|
|
92
|
-
/** The plaintext token, shown once and unrecoverable afterward. */
|
|
93
|
-
token: string;
|
|
94
|
-
};
|
|
95
|
-
/** Options for {@link Source.list}. */
|
|
96
|
-
export type ListOptions = {
|
|
97
|
-
/** Restrict results to keys owned by this organization. */
|
|
98
|
-
orgId?: string | undefined;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* The contract every pluggable API-key source implements — both the read path
|
|
102
|
-
* ({@link Source.resolve}, used by `Auth.middleware`'s `apiKey.source`) and the
|
|
103
|
-
* provisioning path ({@link Source.mint}/{@link Source.list}/{@link
|
|
104
|
-
* Source.revoke}). {@link store} is the built-in store-backed source; future
|
|
105
|
-
* database-backed sources (D1, Postgres, …) implement this same contract, so any
|
|
106
|
-
* backend stays interchangeable wherever a source is accepted.
|
|
107
|
-
*/
|
|
108
|
-
export type Source = {
|
|
109
|
-
/** Lists key records (metadata only — never tokens), newest first. */
|
|
110
|
-
list(options?: ListOptions): Promise<readonly Record[]>;
|
|
111
|
-
/**
|
|
112
|
-
* Mints a key: persists its hashed record and returns the record plus the
|
|
113
|
-
* one-time plaintext token (shown once, unrecoverable afterward).
|
|
114
|
-
*/
|
|
115
|
-
mint(input: MintInput): Promise<MintResult>;
|
|
116
|
-
/** Resolves a plaintext API key token to its metadata, or `null`. */
|
|
117
|
-
resolve(token: string): Promise<ApiKey.ApiKey | null>;
|
|
118
|
-
/** Revokes a key by id. Returns whether a matching record was deleted. */
|
|
119
|
-
revoke(id: string): Promise<boolean>;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* Creates a {@link Source} from a value, type-checking it against the contract.
|
|
123
|
-
* The escape hatch for bringing your own backend (D1, Postgres, …): author the
|
|
124
|
-
* implementation inline and have it validated against {@link Source}.
|
|
125
|
-
*/
|
|
126
|
-
export declare function from<const source extends Source>(source: source): source;
|
|
127
|
-
/**
|
|
128
|
-
* The default {@link Source} when none is configured: it resolves every token to
|
|
129
|
-
* `null` and lists nothing, so API-key access stays closed until a real source
|
|
130
|
-
* (e.g. {@link store}) is wired in. Its provisioning methods are inert —
|
|
131
|
-
* {@link Source.list} returns `[]`, {@link Source.revoke} returns `false`, and
|
|
132
|
-
* {@link Source.mint} throws, since there is nowhere to persist a key.
|
|
133
|
-
*/
|
|
134
|
-
export declare const noop: Source;
|
|
135
|
-
/**
|
|
136
|
-
* Creates a store-backed {@link Source} over a {@link Store.State}. Records are
|
|
137
|
-
* persisted keyed by token hash (`ApiKey.keyFor`) and validated against the
|
|
138
|
-
* scope catalog on read; unknown, corrupt, expired, or invalid records resolve
|
|
139
|
-
* to `null`. An `id → recordKey` index makes revoke-by-id O(1).
|
|
140
|
-
*/
|
|
141
|
-
export declare function store(state: Store.State): Source;
|
|
142
|
-
/**
|
|
143
|
-
* Wraps a source with a short-TTL in-memory cache on the resolve path, so hot
|
|
144
|
-
* keys skip the backend read (e.g. a KV `get`) on every request. Positive
|
|
145
|
-
* results cache for `ttl` (default 60s), negative for `negativeTtl` (default
|
|
146
|
-
* 10s) so a freshly minted key is usable quickly; concurrent misses for one
|
|
147
|
-
* token are single-flighted. Entries are keyed by the token's storage-key
|
|
148
|
-
* derivation (`ApiKey.keyFor`, a sha256) — never the plaintext token.
|
|
149
|
-
*
|
|
150
|
-
* The cache is per-isolate, so a revoked key may stay resolvable elsewhere
|
|
151
|
-
* for up to `ttl` — the accepted trade-off for removing a backend read from
|
|
152
|
-
* the auth path of every request. Provisioning methods pass through uncached.
|
|
153
|
-
*/
|
|
154
|
-
export declare function cached(source: Source, options?: cached.Options): Source;
|
|
155
|
-
export declare namespace cached {
|
|
156
|
-
/** Options for wrapping a source with a short-TTL resolve cache. */
|
|
157
|
-
type Options = {
|
|
158
|
-
/** Time-to-live for negative (`null`) results in milliseconds. */
|
|
159
|
-
negativeTtl?: number | undefined;
|
|
160
|
-
/** Clock used for expiry. */
|
|
161
|
-
now?: (() => number) | undefined;
|
|
162
|
-
/** Time-to-live for positive results in milliseconds. */
|
|
163
|
-
ttl?: number | undefined;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
//# sourceMappingURL=ApiKeySource.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeySource.d.ts","sourceRoot":"","sources":["../src/ApiKeySource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAE7B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,KAAK,MAAM,qBAAqB,CAAA;AAEjD,sDAAsD;AACtD,yBAAiB,MAAM,CAAC;IACtB;;;;;OAKG;IACI,MAAM,SAAS;;;;;;;;;;;;;;;;;;;qBASpB,CAAA;IAEF;;;;OAIG;IACI,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;qBAKjB,CAAA;CACH;AAED;;;;;GAKG;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAA;AAEnD;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,S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AAM,GAAG,SAAS,CAAA;QAChC,6BAA6B;QAC7B,GAAG,CAAC,EAAE,CAAC,MAAM,MAAM,CAAC,GAAG,SAAS,CAAA;QAChC,yDAAyD;QACzD,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KACzB,CAAA;CACF"}
|
package/dist/ApiKeySource.js
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pluggable API-key sources for Tempo API.
|
|
3
|
-
*
|
|
4
|
-
* Every backend implements one shared contract ({@link Source}) covering both
|
|
5
|
-
* the read path ({@link Source.resolve}, wired into `Auth.middleware`'s
|
|
6
|
-
* `apiKey.source`) and the provisioning path ({@link Source.mint}/{@link
|
|
7
|
-
* Source.list}/{@link Source.revoke}), so backends are interchangeable wherever a
|
|
8
|
-
* source is accepted. {@link store} is the built-in store-backed source (e.g. a
|
|
9
|
-
* Cloudflare KV namespace); {@link from} type-checks a bring-your-own backend
|
|
10
|
-
* (D1, Postgres, …) against the contract. The persisted {@link Record}/{@link
|
|
11
|
-
* MintInput} shapes live here (derived from `ApiKey.schema` so they cannot drift
|
|
12
|
-
* from the resolved shape), while the shared credential primitives (token
|
|
13
|
-
* format/generation, storage-key derivation, redaction) live in `./ApiKey.js`.
|
|
14
|
-
*/
|
|
15
|
-
import * as z from 'zod/mini';
|
|
16
|
-
import * as ApiKey from './ApiKey.js';
|
|
17
|
-
/** Zod schemas owned by the API-key source module. */
|
|
18
|
-
export var schema;
|
|
19
|
-
(function (schema) {
|
|
20
|
-
/**
|
|
21
|
-
* Fields accepted when minting a key, and the single source of truth for the
|
|
22
|
-
* {@link MintInput} type and `mint` validation. Derived from the resolved
|
|
23
|
-
* `ApiKey.schema` (minus the generated `id`) so the scope vocabulary stays in
|
|
24
|
-
* lockstep with the resolved shape.
|
|
25
|
-
*/
|
|
26
|
-
schema.MintInput = z.extend(z.omit(ApiKey.schema.ApiKey, { id: true }), {
|
|
27
|
-
createdBy: z
|
|
28
|
-
.optional(z.string())
|
|
29
|
-
.check(z.describe('Identity creating the key (e.g. admin email), recorded for audit.')),
|
|
30
|
-
expiresAt: z
|
|
31
|
-
.optional(z.string())
|
|
32
|
-
.check(z.describe('ISO 8601 expiry timestamp. Omit for a non-expiring key.')),
|
|
33
|
-
// TODO: make required once orgs exist.
|
|
34
|
-
orgId: z.optional(z.string()).check(z.describe('Owning organization id.')),
|
|
35
|
-
});
|
|
36
|
-
/**
|
|
37
|
-
* A persisted API-key record: the resolved `ApiKey.schema` plus
|
|
38
|
-
* persistence/display fields. Extending the resolved schema keeps the resolved
|
|
39
|
-
* and persisted shapes in lockstep.
|
|
40
|
-
*/
|
|
41
|
-
schema.Record = z.extend(ApiKey.schema.ApiKey, {
|
|
42
|
-
createdAt: z.string().check(z.describe('ISO 8601 creation timestamp.')),
|
|
43
|
-
createdBy: z.optional(z.string()).check(z.describe('Identity that created the key.')),
|
|
44
|
-
expiresAt: z.optional(z.string()).check(z.describe('ISO 8601 expiry timestamp.')),
|
|
45
|
-
tokenLast4: z.string().check(z.describe('Last 4 chars of the plaintext token.')),
|
|
46
|
-
});
|
|
47
|
-
})(schema || (schema = {}));
|
|
48
|
-
/**
|
|
49
|
-
* Creates a {@link Source} from a value, type-checking it against the contract.
|
|
50
|
-
* The escape hatch for bringing your own backend (D1, Postgres, …): author the
|
|
51
|
-
* implementation inline and have it validated against {@link Source}.
|
|
52
|
-
*/
|
|
53
|
-
export function from(source) {
|
|
54
|
-
return source;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* The default {@link Source} when none is configured: it resolves every token to
|
|
58
|
-
* `null` and lists nothing, so API-key access stays closed until a real source
|
|
59
|
-
* (e.g. {@link store}) is wired in. Its provisioning methods are inert —
|
|
60
|
-
* {@link Source.list} returns `[]`, {@link Source.revoke} returns `false`, and
|
|
61
|
-
* {@link Source.mint} throws, since there is nowhere to persist a key.
|
|
62
|
-
*/
|
|
63
|
-
export const noop = {
|
|
64
|
-
async list() {
|
|
65
|
-
return [];
|
|
66
|
-
},
|
|
67
|
-
async mint() {
|
|
68
|
-
throw new Error('cannot mint: no API-key source is configured');
|
|
69
|
-
},
|
|
70
|
-
async resolve() {
|
|
71
|
-
return null;
|
|
72
|
-
},
|
|
73
|
-
async revoke() {
|
|
74
|
-
return false;
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Creates a store-backed {@link Source} over a {@link Store.State}. Records are
|
|
79
|
-
* persisted keyed by token hash (`ApiKey.keyFor`) and validated against the
|
|
80
|
-
* scope catalog on read; unknown, corrupt, expired, or invalid records resolve
|
|
81
|
-
* to `null`. An `id → recordKey` index makes revoke-by-id O(1).
|
|
82
|
-
*/
|
|
83
|
-
export function store(state) {
|
|
84
|
-
return {
|
|
85
|
-
async list(options = {}) {
|
|
86
|
-
const { keys } = await state.list({ prefix: ApiKey.recordPrefix });
|
|
87
|
-
const records = [];
|
|
88
|
-
for (const { name } of keys) {
|
|
89
|
-
const record = await read(state, name, Date.now());
|
|
90
|
-
if (record && (!options.orgId || record.orgId === options.orgId))
|
|
91
|
-
records.push(record);
|
|
92
|
-
}
|
|
93
|
-
// Newest first; ids are random, so sort by creation time.
|
|
94
|
-
return records.sort((a, b) => b.createdAt.localeCompare(a.createdAt));
|
|
95
|
-
},
|
|
96
|
-
async mint(input) {
|
|
97
|
-
// Validate input (e.g. reject an unknown scope) at the write boundary so we
|
|
98
|
-
// never persist a record the reader would later refuse to resolve.
|
|
99
|
-
const valid = schema.MintInput.safeParse(input);
|
|
100
|
-
if (!valid.success)
|
|
101
|
-
throw new Error(`invalid API key input: ${z.prettifyError(valid.error)}`);
|
|
102
|
-
const data = valid.data;
|
|
103
|
-
const time = new Date();
|
|
104
|
-
const token = ApiKey.generateToken(data.environment);
|
|
105
|
-
const recordKey = ApiKey.keyFor(token);
|
|
106
|
-
const id = ApiKey.generateId();
|
|
107
|
-
const record = {
|
|
108
|
-
createdAt: time.toISOString(),
|
|
109
|
-
environment: data.environment,
|
|
110
|
-
id,
|
|
111
|
-
// TODO: drop fallback once a real org concept exists.
|
|
112
|
-
orgId: data.orgId ?? id,
|
|
113
|
-
scopes: data.scopes,
|
|
114
|
-
tokenLast4: token.slice(-4),
|
|
115
|
-
...(data.createdBy === undefined ? {} : { createdBy: data.createdBy }),
|
|
116
|
-
...(data.expiresAt === undefined ? {} : { expiresAt: data.expiresAt }),
|
|
117
|
-
...(data.name === undefined ? {} : { name: data.name }),
|
|
118
|
-
...(data.rateLimits === undefined ? {} : { rateLimits: data.rateLimits }),
|
|
119
|
-
};
|
|
120
|
-
// Bound the stored record by its expiry so the backend evicts it natively.
|
|
121
|
-
const ttl = data.expiresAt === undefined
|
|
122
|
-
? undefined
|
|
123
|
-
: Math.max(1, Date.parse(data.expiresAt) - time.getTime());
|
|
124
|
-
await state.put(recordKey, JSON.stringify(record), { ttl });
|
|
125
|
-
// Index `id → recordKey` so revoke-by-id is O(1) (records are keyed by
|
|
126
|
-
// token hash, unrecoverable from the id alone). Shares the record's TTL so
|
|
127
|
-
// both entries expire together.
|
|
128
|
-
await state.put(idKeyFor(record.id), recordKey, { ttl });
|
|
129
|
-
return { record, token };
|
|
130
|
-
},
|
|
131
|
-
async resolve(token) {
|
|
132
|
-
return read(state, ApiKey.keyFor(token), Date.now());
|
|
133
|
-
},
|
|
134
|
-
async revoke(id) {
|
|
135
|
-
const recordKey = await state.get(idKeyFor(id));
|
|
136
|
-
if (!recordKey)
|
|
137
|
-
return false;
|
|
138
|
-
await state.delete(recordKey);
|
|
139
|
-
await state.delete(idKeyFor(id));
|
|
140
|
-
return true;
|
|
141
|
-
},
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Wraps a source with a short-TTL in-memory cache on the resolve path, so hot
|
|
146
|
-
* keys skip the backend read (e.g. a KV `get`) on every request. Positive
|
|
147
|
-
* results cache for `ttl` (default 60s), negative for `negativeTtl` (default
|
|
148
|
-
* 10s) so a freshly minted key is usable quickly; concurrent misses for one
|
|
149
|
-
* token are single-flighted. Entries are keyed by the token's storage-key
|
|
150
|
-
* derivation (`ApiKey.keyFor`, a sha256) — never the plaintext token.
|
|
151
|
-
*
|
|
152
|
-
* The cache is per-isolate, so a revoked key may stay resolvable elsewhere
|
|
153
|
-
* for up to `ttl` — the accepted trade-off for removing a backend read from
|
|
154
|
-
* the auth path of every request. Provisioning methods pass through uncached.
|
|
155
|
-
*/
|
|
156
|
-
export function cached(source, options = {}) {
|
|
157
|
-
const { negativeTtl = 10_000, now = Date.now, ttl = 60_000 } = options;
|
|
158
|
-
const cells = new Map();
|
|
159
|
-
const flights = new Map();
|
|
160
|
-
return {
|
|
161
|
-
...source,
|
|
162
|
-
async resolve(token) {
|
|
163
|
-
// Versioned so a future record-shape change can't serve stale shapes.
|
|
164
|
-
const key = `v1:${ApiKey.keyFor(token)}`;
|
|
165
|
-
const cell = cells.get(key);
|
|
166
|
-
if (cell && cell.expiresAt > now())
|
|
167
|
-
return cell.value;
|
|
168
|
-
if (cell)
|
|
169
|
-
cells.delete(key);
|
|
170
|
-
const existing = flights.get(key);
|
|
171
|
-
if (existing)
|
|
172
|
-
return existing;
|
|
173
|
-
const flight = (async () => {
|
|
174
|
-
const value = await source.resolve(token);
|
|
175
|
-
// Bound the cache: random invalid tokens each add a (negative) entry,
|
|
176
|
-
// so sweep expired cells at the cap and then drop the oldest.
|
|
177
|
-
if (cells.size >= cachedMaxEntries) {
|
|
178
|
-
const time = now();
|
|
179
|
-
for (const [name, entry] of cells)
|
|
180
|
-
if (entry.expiresAt <= time)
|
|
181
|
-
cells.delete(name);
|
|
182
|
-
while (cells.size >= cachedMaxEntries)
|
|
183
|
-
cells.delete(cells.keys().next().value);
|
|
184
|
-
}
|
|
185
|
-
cells.set(key, { expiresAt: now() + (value ? ttl : negativeTtl), value });
|
|
186
|
-
return value;
|
|
187
|
-
})();
|
|
188
|
-
flights.set(key, flight);
|
|
189
|
-
try {
|
|
190
|
-
return await flight;
|
|
191
|
-
}
|
|
192
|
-
finally {
|
|
193
|
-
flights.delete(key);
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
/** Maximum resolve-cache entries held per isolate before eviction. */
|
|
199
|
-
const cachedMaxEntries = 10_000;
|
|
200
|
-
/**
|
|
201
|
-
* Reads and validates a stored record by storage key. Invalid, corrupt, or
|
|
202
|
-
* expired records (`expiresAt <= now`) resolve to `null`. Expiry is enforced
|
|
203
|
-
* here — not just via the store's native TTL — so it holds on backends that
|
|
204
|
-
* evict lazily and regardless of TTL granularity.
|
|
205
|
-
*/
|
|
206
|
-
async function read(state, key, now) {
|
|
207
|
-
const raw = await state.get(key);
|
|
208
|
-
if (!raw)
|
|
209
|
-
return null;
|
|
210
|
-
const value = (() => {
|
|
211
|
-
try {
|
|
212
|
-
return JSON.parse(raw);
|
|
213
|
-
}
|
|
214
|
-
catch {
|
|
215
|
-
return undefined;
|
|
216
|
-
}
|
|
217
|
-
})();
|
|
218
|
-
if (value === undefined)
|
|
219
|
-
return null;
|
|
220
|
-
const parsed = schema.Record.safeParse(value);
|
|
221
|
-
if (!parsed.success)
|
|
222
|
-
return null;
|
|
223
|
-
const record = parsed.data;
|
|
224
|
-
if (record.expiresAt !== undefined && Date.parse(record.expiresAt) <= now)
|
|
225
|
-
return null;
|
|
226
|
-
return record;
|
|
227
|
-
}
|
|
228
|
-
/** Storage-key prefix for the store source's `id → recordKey` index. */
|
|
229
|
-
const idPrefix = 'apikey_id:';
|
|
230
|
-
/** Storage key under which the store source's `id → recordKey` index entry is persisted. */
|
|
231
|
-
function idKeyFor(id) {
|
|
232
|
-
return `${idPrefix}${id}`;
|
|
233
|
-
}
|
|
234
|
-
//# sourceMappingURL=ApiKeySource.js.map
|
package/dist/ApiKeySource.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiKeySource.js","sourceRoot":"","sources":["../src/ApiKeySource.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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AS,CAAA;QAC3C,4EAA4E;QAC5E,aAAa,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,SAAS,CAAA;QAC1C,4CAA4C;QAC5C,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,GAAG,SAAS,CAAA;QAC/C,mBAAmB;QACnB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAC7B,CAAA;CACF"}
|
package/dist/Cli.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Cli as incur_Cli, Fetch } from 'incur';
|
|
2
|
-
/** Creates an incur CLI backed by a hosted Tempo API. */
|
|
3
|
-
export function from(url, options = {}) {
|
|
4
|
-
const { description = 'Tempo API CLI', name = 'tempo-api', openapi = 'openapi.json', request, version = '0.0.0', } = options;
|
|
5
|
-
return incur_Cli.create(name, {
|
|
6
|
-
description,
|
|
7
|
-
fetch: Fetch.fromRequest(url, request),
|
|
8
|
-
openapi,
|
|
9
|
-
openapiConfig: options.openapiConfig ?? { mode: 'namespace' },
|
|
10
|
-
version,
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=Cli.js.map
|
package/dist/Cli.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Cli.js","sourceRoot":"","sources":["../src/Cli.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,SAAS,EAAE,KAAK,EAAgB,MAAM,OAAO,CAAA;AAE7D,yDAAyD;AACzD,MAAM,UAAU,IAAI,CAAC,GAAiB,EAAE,OAAO,GAAiB,EAAE;IAChE,MAAM,EACJ,WAAW,GAAG,eAAe,EAC7B,IAAI,GAAG,WAAW,EAClB,OAAO,GAAG,cAAc,EACxB,OAAO,EACP,OAAO,GAAG,OAAO,GAClB,GAAG,OAAO,CAAA;IAEX,OAAO,SAAS,CAAC,MAAM,CAAC,IAAI,EAAE;QAC5B,WAAW;QACX,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,EAAE,OAAO,CAAC;QACtC,OAAO;QACP,aAAa,EAAE,OAAO,CAAC,aAAa,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE;QAC7D,OAAO;KACR,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" fill="none" viewBox="0 0 400 400"><path fill="url(#a)" d="M0 0h400v400H0z"/><g filter="url(#b)"><path fill="url(#c)" d="M301.861 109.055c-9.405-.047-18.81-.034-28.218-.034h-54.744l-34.414.005h-10.836c-1.937-.005-4.558-.085-6.428.064-6.554.505-11.584 3.484-15.994 8.359-3.222 3.558-4.86 8.174-6.814 12.543l-4.588 10.112-20.006 43.776-3.772 8.259c-2.644 5.787 1.556 12.382 7.883 12.382h44.18a8.67 8.67 0 0 0 7.812-4.934c.702-1.465 1.413-2.935 2.041-4.375.751-1.723 1.672-3.434 2.443-5.142l15.784-34.274 5.191-11.527c5.304-12.011 8.147-21.613 23.358-22.439 2.533-.099 7.068-.482 9.025 1.299 2.698 2.457 1.939 6.54.684 9.542-1.267 3.034-2.888 5.971-4.236 8.99a1476 1476 0 0 1-14.962 32.306l-10.327 22.439c-5.237 11.211-7.47 19.669-21.839 20.417-.148 0-.289 0-.432-.002l-72.32.002a8.67 8.67 0 0 0-7.883 5.086l-13.662 29.914c-.595 1.323-1.287 2.574-1.892 3.88-1.08 2.362-1.957 4.963-3.108 7.284a216 216 0 0 0-6.075 13.396c-1.25 3.017-2.92 5.387-2.69 8.776.2 2.942 2.537 5.084 5.254 5.842.445.124.9.194 1.359.239 2.384.229 5.173.122 7.602.119l13.832-.017 15.732.022c5.302.008 12.664.841 16.33-3.922 2.817-3.66 4.845-8.776 6.718-13.013l5.815-12.954c.699-1.522 1.485-2.967 2.16-4.502l4.372-9.77c2.268-5.006 3.513-8.098 7.703-11.985 2.837-2.655 4.62-3.536 8.222-4.777.601-.206 1.443-.445 1.804-.492 1.86-.246 4.022-.236 5.877-.241h47.913l11.535.005c3.792 0 8.382.233 12.014-.707 4.986-1.293 8.849-4.262 12.328-7.97 2.08-2.218 3.029-4.852 4.39-7.461 2.004-3.839 3.486-7.764 5.28-11.673l12.527-27.049c2.52-5.374 4.902-10.908 7.261-16.354 1.819-4.195 3.988-8.256 5.707-12.509 3.543-7.823 7.409-15.535 10.569-23.523.435-1.089 1.072-2.241 1.482-3.335a8 8 0 0 0 .485-2.489c.177-4.412-3.094-7.56-7.419-7.58z"/></g><path stroke="#fff" stroke-opacity=".4" stroke-width="3" d="M167.34 110.586c1.788-.143 4.29-.066 6.306-.061h10.839l34.414-.004h68.853q6.846.001 13.69.033l.011.007.414.001c3.536.017 6.068 2.516 5.927 6.02l-.001.013a6.4 6.4 0 0 1-.39 2.01c-.18.481-.415.99-.682 1.556-.258.545-.55 1.153-.788 1.75l-.001.004c-3.143 7.945-6.965 15.558-10.541 23.456l-.013.028-.012.029c-.841 2.081-1.796 4.124-2.78 6.194-.978 2.058-1.99 4.152-2.912 6.28-2.362 5.453-4.734 10.964-7.242 16.314l-.003.007-12.529 27.048-.002.005c-1.857 4.048-3.257 7.796-5.246 11.606-1.385 2.655-2.161 4.822-3.812 6.746l-.342.382c-3.271 3.486-6.779 6.177-11.182 7.428l-.427.116c-3.392.878-7.7.659-11.639.659h.001l-11.535-.005h-47.918c-1.593.004-3.532-.005-5.317.168l-.753.086c-.524.069-1.488.352-2.094.56l-.001.001c-1.823.629-3.275 1.194-4.649 1.97-1.383.782-2.632 1.747-4.105 3.126-4.439 4.118-5.789 7.478-8.049 12.465l-.003.006-4.373 9.77-.004.01a52 52 0 0 1-1.041 2.193c-.363.735-.747 1.5-1.108 2.286l-.005.011-5.816 12.954-.003.008c-1.92 4.344-3.859 9.228-6.535 12.705-1.482 1.926-3.77 2.814-6.556 3.177-2.832.369-5.793.164-8.582.16l-15.733-.022h-.004l-13.833.017c-2.515.003-5.167.107-7.455-.112h.001a7 7 0 0 1-.845-.127l-.255-.063-.424-.133c-2.082-.726-3.603-2.369-3.738-4.366-.096-1.404.196-2.615.691-3.88.252-.644.55-1.287.88-1.99.324-.689.68-1.437 1.009-2.23v-.001a214 214 0 0 1 6.033-13.304c.604-1.217 1.13-2.496 1.628-3.732.504-1.25.975-2.448 1.496-3.588v.001c.291-.626.603-1.241.93-1.89.322-.64.658-1.311.97-2.006l13.658-29.906a7.18 7.18 0 0 1 6.519-4.209l72.294-.003q.238.004.458.003h.039l.039-.002c7.536-.392 12.102-2.845 15.418-6.823 1.616-1.939 2.897-4.193 4.088-6.616 1.172-2.385 2.341-5.115 3.614-7.841l.004-.008 10.318-22.419a1477 1477 0 0 0 14.976-32.34l.001-.002c.66-1.478 1.388-2.936 2.126-4.44.641-1.305 1.288-2.639 1.877-3.999l.248-.584c.67-1.603 1.246-3.576 1.257-5.546.011-1.995-.566-4.09-2.315-5.683h-.001c-1.386-1.262-3.476-1.625-5.205-1.742-1.798-.121-3.682.007-4.887.054h-.012l-.011.001c-7.983.433-12.906 3.209-16.474 7.572-3.441 4.207-5.582 9.884-8.171 15.748l-5.186 11.515-15.783 34.274-.005.011c-.373.827-.784 1.657-1.209 2.522-.42.855-.851 1.742-1.242 2.638-.614 1.409-1.312 2.85-2.019 4.325a7.17 7.17 0 0 1-6.459 4.083h-44.18c-5.22-.001-8.715-5.452-6.519-10.259l3.773-8.259 20.005-43.775.002-.004 4.588-10.112.003-.008c1.964-4.39 3.447-8.551 6.279-11.833l.278-.316c4.21-4.654 8.904-7.4 14.997-7.869z"/><defs><linearGradient id="a" x1="200" x2="200" y1="0" y2="400" gradientUnits="userSpaceOnUse"><stop stop-color="#242424"/><stop offset="1"/></linearGradient><linearGradient id="c" x1="192.15" x2="192.15" y1="109" y2="291.425" gradientUnits="userSpaceOnUse"><stop stop-color="#fff"/><stop offset="1" stop-color="#8c8c8c"/></linearGradient><filter id="b" width="234.3" height="190.425" x="75" y="105" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="-4"/><feGaussianBlur stdDeviation="4.25"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/><feBlend in2="shape" result="effect1_innerShadow_393_15892"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="4"/><feGaussianBlur stdDeviation="2"/><feComposite in2="hardAlpha" k2="-1" k3="1" operator="arithmetic"/><feColorMatrix values="0 0 0 0 0.954364 0 0 0 0 0.954364 0 0 0 0 0.954364 0 0 0 1 0"/><feBlend in2="effect1_innerShadow_393_15892" result="effect2_innerShadow_393_15892"/></filter></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none" viewBox="0 0 64 64"><path fill="#3e73c4" d="M0 32C0 14.327 14.327 0 32 0s32 14.327 32 32-14.327 32-32 32S0 49.673 0 32"/><path fill="#fff" d="M29.838 45.258q-2.988 0-5.211-1.505-2.2-1.504-3.414-4.223Q20 36.79 20 33.151v-.045q0-3.638 1.213-6.356 1.235-2.74 3.481-4.245Q26.941 21 29.973 21a7.8 7.8 0 0 1 2.92.54 7.1 7.1 0 0 1 2.38 1.504 6.8 6.8 0 0 1 1.618 2.358h.09V21.45h3.908v17.565q0 1.55.471 2.223.472.675 1.573.674.314 0 .629-.045.336-.045.561-.112v3.234a3.6 3.6 0 0 1-.786.18q-.472.09-1.123.09-2.09 0-3.37-.944-1.28-.965-1.706-2.897l-.09-.404h-.113q-.516 1.19-1.594 2.156a7.9 7.9 0 0 1-2.493 1.527 8.1 8.1 0 0 1-3.01.562m.36-3.46q2.043 0 3.57-1.1 1.528-1.122 2.381-3.077.855-1.954.854-4.47v-.045q0-2.493-.854-4.447-.853-1.954-2.358-3.077t-3.504-1.123q-1.909 0-3.324 1.078-1.415 1.056-2.201 3.01-.765 1.954-.764 4.582v.045q0 2.673.719 4.604.74 1.932 2.134 2.988 1.393 1.033 3.346 1.033"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none" viewBox="0 0 64 64"><path fill="#1c9ba4" d="M0 32C0 14.327 14.327 0 32 0s32 14.327 32 32-14.327 32-32 32S0 49.673 0 32"/><path fill="#fff" d="M24 50V25.696q0-4.129 2.037-6.404Q28.092 17 31.78 17q3.371 0 5.409 1.837 2.055 1.837 2.055 4.9v.035a5.5 5.5 0 0 1-.966 3.167q-.948 1.416-2.617 2.134v.28q2.617.649 3.97 2.362 1.368 1.715 1.369 4.34v.035q0 2.326-1.019 4.129a7.3 7.3 0 0 1-2.81 2.817q-1.773 1.015-4.056 1.015-1.405 0-2.547-.385a5.8 5.8 0 0 1-1.95-1.102 5.4 5.4 0 0 1-1.281-1.68h-.281V50zm8.957-8.644q1.37 0 2.476-.665a4.9 4.9 0 0 0 1.774-1.854q.666-1.173.667-2.66v-.035q0-2.607-1.633-3.954-1.635-1.348-4.724-1.348H29.97v-2.694h1.563q2.248 0 3.46-1.068 1.23-1.084 1.23-3.132v-.035q0-1.907-1.195-3.062-1.177-1.154-3.161-1.154-2.389 0-3.6 1.592t-1.212 4.724v8.819q0 1.995.737 3.464.756 1.47 2.073 2.275 1.335.787 3.09.787"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" fill="none" viewBox="0 0 64 64"><path fill="#ba3b48" d="M0 32C0 14.327 14.327 0 32 0s32 14.327 32 32-14.327 32-32 32S0 49.673 0 32"/><path fill="#fff" d="M32.5 48q-3.052 0-5.182-1.65-2.11-1.651-3.224-4.878Q23 38.228 23 33.52v-.02q0-4.784 1.113-8.01t3.224-4.858Q29.467 19 32.5 19t5.143 1.632q2.13 1.632 3.244 4.858Q42 28.716 42 33.5v.019q0 4.709-1.113 7.953-1.094 3.227-3.224 4.877Q35.55 48 32.5 48m0-2.889q2.053 0 3.397-1.275 1.362-1.276 2.015-3.846.672-2.57.672-6.453v-.075q0-3.901-.672-6.452-.653-2.57-2.015-3.846-1.344-1.275-3.397-1.275t-3.416 1.275q-1.343 1.276-2.015 3.846-.653 2.55-.653 6.452v.075q0 3.884.653 6.453.672 2.57 2.015 3.846 1.362 1.275 3.416 1.275m-6.87-10.354v-2.889h13.74v2.889z"/></svg>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"address": "0x20c0000000000000000000000000000000000000",
|
|
4
|
-
"currency": "USD",
|
|
5
|
-
"decimals": 6,
|
|
6
|
-
"name": "PathUSD",
|
|
7
|
-
"symbol": "pathUSD"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"address": "0x20c0000000000000000000000000000000000001",
|
|
11
|
-
"currency": "USD",
|
|
12
|
-
"decimals": 6,
|
|
13
|
-
"name": "AlphaUSD",
|
|
14
|
-
"symbol": "alphaUSD"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"address": "0x20c0000000000000000000000000000000000002",
|
|
18
|
-
"currency": "USD",
|
|
19
|
-
"decimals": 6,
|
|
20
|
-
"name": "BetaUSD",
|
|
21
|
-
"symbol": "betaUSD"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"address": "0x20c0000000000000000000000000000000000003",
|
|
25
|
-
"currency": "USD",
|
|
26
|
-
"decimals": 6,
|
|
27
|
-
"name": "ThetaUSD",
|
|
28
|
-
"symbol": "thetaUSD"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<svg width="400" height="400" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="400" height="400" fill="black"/>
|
|
3
|
-
<g filter="url(#filter0_ii_1141_2008)">
|
|
4
|
-
<path d="M290.022 123.047C282.061 123.007 274.099 123.017 266.135 123.017H219.794L190.662 123.022H181.489C179.85 123.017 177.631 122.95 176.048 123.076C170.499 123.504 166.241 126.026 162.508 130.152C159.781 133.164 158.395 137.071 156.74 140.77L152.857 149.33L135.921 186.387L132.728 193.378C130.49 198.277 134.045 203.859 139.401 203.859H176.8C179.619 203.859 182.188 202.236 183.413 199.683C184.007 198.443 184.609 197.199 185.141 195.98C185.776 194.521 186.556 193.073 187.209 191.626L200.57 162.613L204.964 152.856C209.454 142.688 211.861 134.56 224.738 133.861C226.881 133.777 230.721 133.453 232.377 134.96C234.661 137.04 234.019 140.497 232.956 143.037C231.884 145.606 230.512 148.092 229.37 150.648C225.258 159.816 221.036 168.931 216.705 177.996L207.963 196.99C203.53 206.48 201.639 213.64 189.476 214.274C189.35 214.274 189.231 214.274 189.11 214.272L127.891 214.274C125.021 214.274 122.416 215.956 121.217 218.579L109.652 243.902C109.148 245.021 108.563 246.08 108.05 247.186C107.137 249.185 106.394 251.387 105.42 253.352C103.571 257.078 101.868 260.848 100.277 264.692C99.2188 267.246 97.8051 269.252 97.9995 272.121C98.1689 274.611 100.147 276.424 102.448 277.066C102.824 277.171 103.209 277.23 103.598 277.268C105.616 277.462 107.977 277.371 110.033 277.369L121.742 277.354L135.06 277.373C139.548 277.38 145.78 278.085 148.883 274.054C151.267 270.955 152.984 266.625 154.57 263.037L159.493 252.072C160.084 250.783 160.75 249.56 161.32 248.261L165.022 239.99C166.942 235.752 167.996 233.136 171.543 229.845C173.944 227.597 175.454 226.852 178.503 225.801C179.011 225.627 179.724 225.425 180.029 225.385C181.604 225.176 183.434 225.185 185.005 225.18H192.33H225.564L235.328 225.185C238.538 225.185 242.424 225.383 245.498 224.587C249.718 223.492 252.989 220.979 255.934 217.84C257.695 215.962 258.498 213.733 259.65 211.524C261.346 208.274 262.601 204.952 264.119 201.643L274.724 178.745C276.857 174.196 278.873 169.512 280.871 164.902C282.41 161.35 284.246 157.912 285.702 154.313C288.7 147.69 291.973 141.162 294.648 134.4C295.016 133.478 295.556 132.503 295.903 131.577C296.152 130.901 296.29 130.19 296.313 129.47C296.463 125.735 293.695 123.07 290.033 123.053L290.022 123.047Z" fill="white"/>
|
|
5
|
-
</g>
|
|
6
|
-
<path d="M181.486 124.291H190.662L219.794 124.287H278.079C281.942 124.289 285.804 124.296 289.666 124.314L289.677 124.321L290.026 124.323C293.02 124.337 295.164 126.453 295.044 129.419V129.43C295.025 130.012 294.914 130.587 294.714 131.132C294.561 131.539 294.362 131.969 294.136 132.447C293.918 132.909 293.671 133.424 293.469 133.93L293.468 133.933C290.807 140.658 287.572 147.103 284.545 153.789L284.534 153.812L284.524 153.837C283.812 155.599 283.004 157.328 282.171 159.08C281.343 160.822 280.486 162.595 279.705 164.396C277.705 169.013 275.698 173.678 273.574 178.206L273.572 178.211L262.967 201.109L262.965 201.113C261.393 204.54 260.207 207.711 258.524 210.937C257.273 213.334 256.61 215.262 255.008 216.971C252.239 219.922 249.269 222.2 245.542 223.259L245.18 223.357C243.026 223.915 240.437 223.95 237.87 223.933L235.328 223.915L225.564 223.911H185.001C183.653 223.915 182.012 223.906 180.501 224.053L179.862 224.126C179.419 224.184 178.603 224.424 178.09 224.601H178.089C176.546 225.132 175.317 225.611 174.154 226.269C172.984 226.93 171.926 227.747 170.68 228.914C166.922 232.4 165.778 235.244 163.865 239.466L163.863 239.472L160.161 247.742L160.158 247.75C159.886 248.37 159.588 248.978 159.276 249.606C158.969 250.228 158.644 250.877 158.339 251.542L158.334 251.552L153.411 262.518L153.408 262.524C151.885 265.972 150.347 269.821 148.295 272.714L147.877 273.279C146.622 274.91 144.684 275.661 142.326 275.969C139.929 276.281 137.422 276.107 135.062 276.104L121.744 276.085H121.74L110.031 276.1C107.901 276.102 105.656 276.19 103.72 276.004H103.721C103.376 275.97 103.07 275.921 102.79 275.843H102.789C100.906 275.317 99.4811 273.929 99.2822 272.203L99.2666 272.035C99.1861 270.847 99.4316 269.822 99.8506 268.751C100.064 268.206 100.317 267.661 100.597 267.066C100.803 266.629 101.024 266.163 101.238 265.675L101.45 265.178C103.031 261.358 104.722 257.614 106.557 253.916C107.068 252.885 107.514 251.803 107.936 250.757C108.362 249.698 108.762 248.685 109.202 247.72C109.448 247.19 109.712 246.669 109.988 246.12C110.261 245.578 110.545 245.01 110.81 244.422L122.372 219.106C123.365 216.932 125.522 215.543 127.891 215.543L189.088 215.541C189.222 215.543 189.352 215.543 189.476 215.543H189.509L189.542 215.542C195.921 215.21 199.787 213.134 202.594 209.767C203.962 208.125 205.045 206.216 206.054 204.165C207.046 202.146 208.035 199.835 209.113 197.527L209.116 197.521L217.851 178.543C222.186 169.469 226.413 160.344 230.528 151.167L230.529 151.166C231.088 149.915 231.704 148.68 232.329 147.407C232.794 146.46 233.263 145.495 233.701 144.514L234.128 143.527C234.695 142.171 235.182 140.5 235.191 138.833C235.201 137.144 234.713 135.37 233.232 134.021L233.231 134.021C232.058 132.953 230.289 132.646 228.825 132.547C227.303 132.444 225.708 132.553 224.688 132.593H224.669C217.911 132.96 213.743 135.31 210.723 139.004C207.809 142.567 205.996 147.376 203.803 152.343L199.417 162.082L186.056 191.096L186.052 191.104C185.736 191.804 185.388 192.507 185.028 193.239C184.673 193.963 184.307 194.714 183.977 195.473C183.457 196.666 182.866 197.886 182.268 199.135C181.252 201.25 179.127 202.59 176.801 202.59H139.401C134.983 202.59 132.024 197.975 133.883 193.905L137.076 186.914L154.012 149.857L154.014 149.854L157.896 141.295L157.899 141.289C159.615 137.453 160.898 133.822 163.449 131.004H163.45C167.014 127.064 170.987 124.74 176.145 124.343L176.148 124.342C177.662 124.221 179.78 124.287 181.486 124.291Z" stroke="white" stroke-opacity="0.4" stroke-width="2.53954"/>
|
|
7
|
-
<defs>
|
|
8
|
-
<filter id="filter0_ii_1141_2008" x="97.9814" y="119.614" width="198.337" height="161.197" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
9
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
10
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
11
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
12
|
-
<feOffset dy="-3.38605"/>
|
|
13
|
-
<feGaussianBlur stdDeviation="3.59768"/>
|
|
14
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
15
|
-
<feColorMatrix type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
|
|
16
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_1141_2008"/>
|
|
17
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
18
|
-
<feOffset dy="3.38605"/>
|
|
19
|
-
<feGaussianBlur stdDeviation="1.69302"/>
|
|
20
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
21
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0.954364 0 0 0 0 0.954364 0 0 0 0 0.954364 0 0 0 1 0"/>
|
|
22
|
-
<feBlend mode="normal" in2="effect1_innerShadow_1141_2008" result="effect2_innerShadow_1141_2008"/>
|
|
23
|
-
</filter>
|
|
24
|
-
</defs>
|
|
25
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="404" height="404" fill="none" viewBox="0 0 404 404"><path fill="#f9f9f9" d="M404 202C404 90.439 313.562 0 202 0S0 90.439 0 202s90.439 202 202 202 202-90.438 202-202"/><path fill="url(#a)" fill-rule="evenodd" d="M80.765 238.772c38.828 38.829 91.143 49.466 116.848 23.761s15.066-78.02-23.761-116.848c-38.829-38.828-91.143-49.466-116.848-23.761s-15.067 78.019 23.761 116.848m20.497 5.167c34.643 27.048 74.644 33.712 89.345 14.884s-1.466-56.019-36.108-83.067c-34.643-27.048-74.644-33.712-89.344-14.883-14.701 18.828 1.465 56.018 36.107 83.066" clip-rule="evenodd"/><path fill="url(#b)" fill-rule="evenodd" d="M323.235 166.964c-38.828-38.828-91.142-49.466-116.849-23.761-25.704 25.705-15.066 78.019 23.762 116.848s91.142 49.465 116.848 23.761c25.705-25.705 15.068-78.02-23.761-116.848m-20.091-4.773c-34.643-27.048-74.643-33.712-89.344-14.883-14.701 18.828 1.464 56.019 36.107 83.067s74.643 33.712 89.345 14.883c14.701-18.828-1.465-56.019-36.108-83.067" clip-rule="evenodd"/><path fill="#171717" d="M211.514 78.551h38.327l-56.427 246.895h-38.328z"/><defs><linearGradient id="a" x1="145.389" x2="167.255" y1="238.887" y2="274.415" gradientUnits="userSpaceOnUse"><stop offset=".073" stop-color="#171717"/><stop offset="1" stop-color="#171717" stop-opacity="0"/></linearGradient><linearGradient id="b" x1="250.485" x2="236.745" y1="185.001" y2="131.32" gradientUnits="userSpaceOnUse"><stop stop-color="#171717"/><stop offset="1" stop-color="#171717" stop-opacity="0"/></linearGradient></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="1021" height="1021" fill="none"><g clip-path="url(#a)"><path fill="#292929" stroke="#292929" stroke-width="10.667" d="M510 1015c278.904 0 505-226.096 505-505S788.904 5 510 5 5 231.096 5 510s226.096 505 505 505Z"/><path fill="#fff" d="M430.37 100v38.474l-1.365 1.012c-93.091 19.673-176.275 75.89-230.539 153.497-86.596 123.87-90.95 288.992-10.778 417.239 53.723 85.914 141.637 148.767 241.317 169.687l1.365 1.035v38.475c-104.221-19.249-198.607-80.738-260.142-166.322C62.335 603.036 66.336 398.122 180.441 252.744c61.676-78.549 151.19-134.483 249.953-152.72zm159.499 819.393v-39.651c98.504-20.402 186.465-82.831 239.999-167.427 85.232-134.743 76.949-309.371-20.99-434.983-54.146-69.441-132.318-119.399-218.844-137.801l-.141-39.51c105.445 20.685 200.301 82.549 261.718 170.299 101.987 145.661 100.339 340.479-3.976 484.375-61.559 84.902-154.533 144.414-257.766 164.745z"/><g filter="url(#b)"><path fill="#d1f019" d="M540.424 481.574c62.733 11.501 118.146 30.32 117.623 104.031-.523 60.641-44.435 104.031-113.963 113.441v54.89H479.26v-55.413c-71.619-11.501-115.009-56.459-115.531-120.76l76.847 1.046c2.613 35.548 30.843 60.118 75.801 60.118 36.071 0 62.732-15.683 62.732-44.435 0-30.843-29.798-37.117-90.962-49.14-61.686-11.501-116.054-31.366-116.054-105.6 0-56.981 41.299-99.326 107.167-108.735v-55.414h64.824v55.936c65.346 10.979 105.599 52.277 106.644 112.396h-76.847c-3.659-30.844-27.183-52.277-65.346-52.277-33.457 0-57.504 14.114-57.504 42.344 0 29.798 28.752 36.071 89.393 47.572"/></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h1021v1021H0z"/></clipPath><filter id="b" width="307.778" height="491.789" x="357.001" y="275.603" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" result="hardAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feOffset dy="6.728"/><feGaussianBlur stdDeviation="3.364"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/><feBlend in2="BackgroundImageFix" result="effect1_dropShadow_215_15"/><feBlend in="SourceGraphic" in2="effect1_dropShadow_215_15" result="shape"/></filter></defs></svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="300" height="300" fill="#000B3B"/>
|
|
3
|
-
<path d="M268 149.993C268 172.889 261.479 194.254 250.188 212.352C238.213 194.5 231.228 173.053 231.228 149.993C231.228 137.964 228.603 126.55 223.9 116.271C219.772 107.263 214.044 99.1298 207.073 92.2405C203.19 88.3994 198.911 84.9411 194.318 81.9475C181.564 73.6093 166.349 68.7703 150.014 68.7703C105.203 68.7703 68.7725 105.199 68.7725 149.993C68.7725 194.774 105.203 231.216 150 231.216C166.336 231.216 181.564 226.363 194.305 218.039C194.305 218.039 179.322 205.231 176.875 168.392C165.023 180.079 172.802 195.375 149.986 195.375C124.97 195.375 104.615 175.022 104.615 150.007C104.615 124.992 124.97 104.639 149.986 104.639C162.754 104.639 174.319 109.942 182.562 118.472C190.477 126.632 195.357 137.773 195.357 150.007C195.357 169.978 199.281 189.374 207.004 207.636C207.018 207.678 207.045 207.719 207.045 207.76C211.994 219.419 218.35 230.3 226.019 240.251C221.987 243.641 217.735 246.785 213.265 249.615C194.975 261.261 173.266 268 149.986 268C84.8348 267.973 32 215.155 32 149.993C32 84.8317 84.8348 32 150 32C173.28 32 194.988 38.7526 213.279 50.3852C217.749 53.2284 222 56.3586 226.033 59.7486C232.212 64.9703 237.858 70.8071 242.861 77.1906C245.485 80.5396 247.932 84.0253 250.188 87.6339C261.479 105.718 268 127.097 268 149.993Z" fill="white"/>
|
|
4
|
-
</svg>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
<svg width="500" height="500" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M250 475C374.264 475 475 374.264 475 250C475 125.736 374.264 25 250 25C125.736 25 25 125.736 25 250C25 374.264 125.736 475 250 475ZM250 500C388.071 500 500 388.071 500 250C500 111.929 388.071 0 250 0C111.929 0 0 111.929 0 250C0 388.071 111.929 500 250 500Z" fill="#EAAC08"/>
|
|
3
|
-
<circle cx="250" cy="250" r="209" fill="url(#paint0_linear_177_99)"/>
|
|
4
|
-
<path d="M46.1799 296.452L138.109 244.189L42.377 225.871C47.5555 180.822 67.0578 140.13 96.2142 108.466C119.298 121.179 142.382 133.896 165.466 146.612C193.696 162.165 221.927 177.717 250.157 193.26L370.531 259.539L375.039 262.029C379.942 265.781 382.904 272.16 382.674 279.051C399.325 284.679 406.63 306.681 402.681 325.647C395.869 313.844 384.911 305.691 372.407 303.304C353.419 303.849 334.498 300.541 316.531 293.582C290.172 289.796 269.112 295.049 250.19 305.35C226.941 318.024 201.173 342.205 177.869 364.074C170.564 370.93 163.501 377.558 156.833 383.534C144.234 393.925 127.659 401.392 110.514 405.646C103.667 399.505 97.2274 392.92 91.2407 385.935L148.935 336.085C151.634 333.731 152.16 329.365 150.054 326.329C147.981 323.293 144.065 322.713 141.366 325.067L82.9173 375.577C75.1455 365.253 68.3082 354.185 62.5314 342.5L77.1649 332.298C80.0608 330.252 80.9492 325.988 79.1394 322.713C77.3295 319.472 73.4793 318.483 70.5835 320.496L56.8777 330.049C52.4069 319.275 48.8114 308.047 46.1799 296.452Z" fill="#CA8404"/>
|
|
5
|
-
<path d="M443.591 171.094C449.264 184.998 453.483 199.649 456.058 214.86C452.95 215.416 449.844 215.971 446.738 216.526L446.73 216.527C415.766 222.058 384.808 227.588 352.532 234.126L238.41 171.941L375.961 96.9982C379.495 95.0726 382.921 93.252 386.268 91.5281C407.352 109.674 424.774 131.956 437.276 157.114L416.7 160.855C413.146 161.469 410.711 165.289 411.271 169.382C411.797 173.476 415.121 176.239 418.675 175.625L443.591 171.094Z" fill="#CA8404"/>
|
|
6
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M250 459C365.428 459 459 365.428 459 250C459 134.572 365.428 41 250 41C134.572 41 41 134.572 41 250C41 365.428 134.572 459 250 459ZM250 475C374.264 475 475 374.264 475 250C475 125.736 374.264 25 250 25C125.736 25 25 125.736 25 250C25 374.264 125.736 475 250 475Z" fill="#EAAC08"/>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M250 459C365.428 459 459 365.428 459 250C459 134.572 365.428 41 250 41C134.572 41 41 134.572 41 250C41 365.428 134.572 459 250 459ZM250 475C374.264 475 475 374.264 475 250C475 125.736 374.264 25 250 25C125.736 25 25 125.736 25 250C25 374.264 125.736 475 250 475Z" fill="url(#paint1_linear_177_99)"/>
|
|
8
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M250 459C365.428 459 459 365.428 459 250C459 134.572 365.428 41 250 41C134.572 41 41 134.572 41 250C41 365.428 134.572 459 250 459ZM250 475C374.264 475 475 374.264 475 250C475 125.736 374.264 25 250 25C125.736 25 25 125.736 25 250C25 374.264 125.736 475 250 475Z" fill="url(#paint2_linear_177_99)"/>
|
|
9
|
-
<path d="M232.8 149.98V163.77C224.42 169.96 215.93 175.03 207.35 178.99C198.07 183.01 188.78 185.03 179.5 185.03C178.92 185.03 178.33 185.03 177.75 185.01V184.77C177.67 184.77 177.58 184.77 177.5 184.76V184.52C177.42 184.52 177.33 184.52 177.25 184.51V184.27C177.17 184.27 177.08 184.27 177 184.26V184.02C176.92 184.02 176.83 184.02 176.75 184.01V183.77C176.67 183.77 176.58 183.77 176.5 183.76V183.52C176.42 183.52 176.33 183.52 176.25 183.51V183.27C176.17 183.27 176.08 183.27 176 183.26V183.02C175.92 183.02 175.83 183.02 175.75 183.01V182.77C175.67 182.77 175.58 182.77 175.5 182.76V182.52C175.42 182.52 175.33 182.52 175.25 182.51V182.27C175.17 182.27 175.08 182.27 175 182.26V182.02C174.92 182.02 174.83 182.02 174.75 182.01V181.77C174.67 181.77 174.58 181.77 174.5 181.76V181.52C174.42 181.52 174.33 181.52 174.25 181.51V181.27C174.17 181.27 174.08 181.27 174 181.26V181.02C173.92 181.02 173.83 181.02 173.75 181.01V180.77C173.67 180.77 173.58 180.77 173.5 180.76V180.52C173.42 180.52 173.33 180.52 173.25 180.51V180.27C173.17 180.27 173.08 180.27 173 180.26V180.02C172.92 180.02 172.83 180.02 172.75 180.01V179.77C172.67 179.77 172.58 179.77 172.5 179.76V179.52C172.42 179.52 172.33 179.52 172.25 179.51V179.27C172.17 179.27 172.08 179.27 172 179.26V179.02C171.92 179.02 171.83 179.02 171.75 179.01V178.77C171.67 178.77 171.58 178.77 171.5 178.76V178.52C171.42 178.52 171.33 178.52 171.25 178.51V178.27C171.17 178.27 171.08 178.27 171 178.26V178.02C170.92 178.02 170.83 178.02 170.75 178.01V177.77C170.67 177.77 170.58 177.77 170.5 177.76V177.52C170.42 177.52 170.33 177.52 170.25 177.51V177.26C170.75 177.28 171.25 177.28 171.75 177.28C181.03 177.28 190.32 175.26 199.6 171.24C209.47 166.69 219.2 160.67 228.8 153.17C230.14 152.12 231.48 151.06 232.8 149.98Z" fill="#85490E"/>
|
|
10
|
-
<path d="M273.75 112.75V393.75H240.55V393.5H240.3V393.25H240.05V393H239.8V392.75H239.55V392.5H239.3V392.25H239.05V392H238.8V391.75H238.55V391.5H238.3V391.25H238.05V391H237.8V390.75H237.55V390.5H237.3V390.25H237.05V390H236.8V389.75H236.55V389.5H236.3V389.25H236.05V389H235.8V388.75H235.55V388.5H235.3V388.25H235.05V388H234.8V387.75H234.55V387.5H234.3V387.25H234.05V387H233.8V386.75H233.55V386.5H233.3V386.25H233.05V386H266V105.25H266.25V105.5H266.5V105.75H266.75V106H267V106.25H267.25V106.5H267.5V106.75H267.75V107H268V107.25H268.25V107.5H268.5V107.75H268.75V108H269V108.25H269.25V108.5H269.5V108.75H269.75V109H270V109.25H270.25V109.5H270.5V109.75H270.75V110H271V110.25H271.25V110.5H271.5V110.75H271.75V111H272V111.25H272.25V111.5H272.5V111.75H272.75V112H273V112.25H273.25V112.5H273.5V112.75H273.75Z" fill="#85490E"/>
|
|
11
|
-
<path d="M266 105V386H232.8V163.77C232.88 163.71 232.72 163.83 232.8 163.77V149.98C231.48 151.06 230.14 152.12 228.8 153.17C219.2 160.67 209.47 166.69 199.6 171.24C190.32 175.26 181.03 177.28 171.75 177.28C171.25 177.28 170.75 177.28 170.25 177.26C170.17 177.27 170.08 177.26 170 177.26V146.35C170.35 146.38 170.71 146.38 171.07 146.38C176.44 146.38 182.76 144.49 190 140.73C197.74 136.72 205.74 131.5 214 125.07C222.27 118.65 229.47 111.96 235.6 105H266Z" fill="url(#paint3_linear_177_99)"/>
|
|
12
|
-
<defs>
|
|
13
|
-
<linearGradient id="paint0_linear_177_99" x1="250" y1="41" x2="250" y2="459" gradientUnits="userSpaceOnUse">
|
|
14
|
-
<stop stop-color="#CA8404"/>
|
|
15
|
-
<stop offset="1" stop-color="#A15D07"/>
|
|
16
|
-
</linearGradient>
|
|
17
|
-
<linearGradient id="paint1_linear_177_99" x1="475" y1="25" x2="25" y2="475" gradientUnits="userSpaceOnUse">
|
|
18
|
-
<stop stop-color="#44403C"/>
|
|
19
|
-
<stop offset="0.4" stop-color="#44403C" stop-opacity="0"/>
|
|
20
|
-
</linearGradient>
|
|
21
|
-
<linearGradient id="paint2_linear_177_99" x1="475" y1="25" x2="25" y2="475" gradientUnits="userSpaceOnUse">
|
|
22
|
-
<stop offset="0.6" stop-color="#F5F5F4" stop-opacity="0"/>
|
|
23
|
-
<stop offset="1" stop-color="#F5F5F4"/>
|
|
24
|
-
</linearGradient>
|
|
25
|
-
<linearGradient id="paint3_linear_177_99" x1="218" y1="105" x2="218" y2="386" gradientUnits="userSpaceOnUse">
|
|
26
|
-
<stop stop-color="#FEF7C3"/>
|
|
27
|
-
<stop offset="1" stop-color="#FDDA47"/>
|
|
28
|
-
</linearGradient>
|
|
29
|
-
</defs>
|
|
30
|
-
</svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle cx="256" cy="256" r="256" fill="#00805e"/><path fill="#f0f0f0" d="M386.895 186.535v-58.196H125.106v58.196h101.797V244.7h58.195v-58.165zM226.934 361.061v58.197h58.164v-58.197h58.165v-116.36h-58.165v116.36zm-.001-116.36h-58.195v116.36h58.195z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 96 96"><g clip-path="url(#a)"><path fill="#0b53bf" d="M48 96c26.51 0 48-21.49 48-48S74.51 0 48 0 0 21.49 0 48s21.49 48 48 48"/><path fill="#fff" stroke="#0b53bf" stroke-miterlimit="10" stroke-width=".03" d="M58.2 59.43c-2.1.84-4.38 1.32-6.57 1.32-4.337 0-8.426-1.847-10.38-6.3h9.54l1.86-4.5H40.14q-.09-.93-.09-1.95c0-1.02.03-1.33.09-1.95h14.1l1.86-4.5H41.25c1.954-4.452 6.043-6.3 10.38-6.3 2.19 0 4.47.48 6.57 1.32l1.92-4.56c-2.58-1.35-5.49-2.01-8.4-2.01-7.024 0-14.123 3.927-16.693 11.55H30.42v4.5h3.684a22.5 22.5 0 0 0 0 3.9H30.42v4.5h4.607C37.597 62.075 44.697 66 51.72 66c2.91 0 5.82-.66 8.4-2.01z"/><path fill="#fff" stroke="#0b53bf" stroke-miterlimit="10" stroke-width=".03" d="M18 48c0-13.59 9.03-25.05 21.36-28.77v-6.18C23.64 16.89 12 31.08 12 48s11.64 31.11 27.36 34.95v-6.18C27.03 73.08 18 61.59 18 48Zm38.64-34.95v6.18C68.97 22.95 78 34.41 78 48s-9.03 25.05-21.36 28.77v6.18C72.36 79.11 84 64.92 84 48S72.36 16.89 56.64 13.05Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h96v96H0z"/></clipPath></defs></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 397.1 397.1"><path d="M198.6 7.1c105.8 0 191.5 85.7 191.5 191.5 0 105.7-85.7 191.5-191.5 191.5S7.1 304.3 7.1 198.6C7.1 92.8 92.8 7.1 198.6 7.1z" style="fill:#111;stroke:#111;stroke-width:7.0536"/><radialGradient id="a" cx="-105.949" cy="595.938" r="1" gradientTransform="matrix(0 411.151 289.409 0 -172270.75 43621.418)" gradientUnits="userSpaceOnUse"><stop offset=".031" style="stop-color:#3a3a3a"/><stop offset="1" style="stop-color:#1c1c1c"/></radialGradient><path d="M198.6 3.6c-107.7 0-195 87.3-195 195s87.3 195 195 195 195-87.3 195-195-87.3-195-195-195" style="fill:url(#a);fill-opacity:.7"/><linearGradient id="b" x1="198.575" x2="198.575" y1="399.143" y2="1.994" gradientTransform="matrix(1 0 0 -1 0 399.143)" gradientUnits="userSpaceOnUse"><stop offset="0" style="stop-color:#fff"/><stop offset="1" style="stop-color:#111"/></linearGradient><path d="M198.6 3.6c-107.7 0-195 87.3-195 195s87.3 195 195 195 195-87.3 195-195-87.3-195-195-195z" style="fill:none;stroke:url(#b);stroke-width:7.1429"/><path d="M167.4 38.1C92.1 52.6 35.2 118.9 35.2 198.4s56.9 145.8 132.2 160.3v-15.3c-67-14.3-117.2-73.8-117.2-145s50.2-130.7 117.2-145zm62.4 15.4V38.2C305 52.8 361.7 119 361.7 198.4S305 344 229.8 358.6v-15.3c66.8-14.4 116.9-73.8 116.9-144.9S296.6 67.9 229.8 53.5" style="fill-rule:evenodd;clip-rule:evenodd;fill:#fff"/><path d="M221.7 193c12.5 2.4 22.1 7 29 13.7 6.9 6.6 10.3 15.1 10.3 25.4v16.3c0 12.4-4.5 22.4-13.4 30-8.9 7.5-20.7 11.2-35.2 11.2h-5v25.9h-17.2v-25.9h-5.3c-9.6 0-18-2.1-25.4-6.4-7.3-4.4-13.1-10.5-17.2-18.3-4-8-6-17.1-6-27.5h17.2c0 10.5 2.9 19.1 8.6 25.7 5.9 6.4 13.7 9.7 23.2 9.7h26.6q14.1 0 22.8-6.6c5.7-4.6 8.6-10.5 8.6-17.8v-16.3c0-5.8-2.2-10.7-6.5-14.8-4.2-4.1-9.9-6.7-17.2-7.9l-43.1-7.6c-12.1-2.2-21.6-6.8-28.3-13.7-6.7-7-10.1-15.7-10.1-26.2v-13.7c0-12.4 4.3-22.2 12.9-29.5 8.8-7.5 20.4-11.2 34.7-11.2h4.3V81.6h17.2v25.9h5.5c13.6 0 24.5 4.4 32.8 13.2 8.3 8.6 12.5 20.1 12.5 34.3h-17.2c0-9.3-2.6-16.8-7.7-22.4q-7.65-8.4-20.4-8.4h-27.1c-9.1 0-16.4 2.2-21.8 6.6-5.4 4.2-8.1 10-8.1 17.3v13.7q0 8.85 6 15c4.2 4.1 9.8 6.8 17 8.1z" style="fill:#fff"/></svg>
|