Skip to content

Commit 11c3965

Browse files
committed
chore: charter to socials sync
1 parent 9494c7c commit 11c3965

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2501
-580
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./mapping.db";
2+
//# sourceMappingURL=index.d.ts.map

infrastructure/web3-adapter/src/db/index.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/web3-adapter/src/db/index.js

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/web3-adapter/src/db/index.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
export declare class MappingDatabase {
2+
private db;
3+
private runAsync;
4+
private getAsync;
5+
private allAsync;
6+
constructor(dbPath: string);
7+
private initialize;
8+
/**
9+
* Store a mapping between local and global IDs
10+
*/
11+
storeMapping(params: {
12+
localId: string;
13+
globalId: string;
14+
}): Promise<void>;
15+
/**
16+
* Get the global ID for a local ID
17+
*/
18+
getGlobalId(localId: string): Promise<string | null>;
19+
/**
20+
* Get the local ID for a global ID
21+
*/
22+
getLocalId(globalId: string): Promise<string | null>;
23+
/**
24+
* Delete a mapping
25+
*/
26+
deleteMapping(localId: string): Promise<void>;
27+
/**
28+
* Get all mappings
29+
*/
30+
getAllMappings(): Promise<Array<{
31+
localId: string;
32+
globalId: string;
33+
}>>;
34+
/**
35+
* Close the database connection
36+
*/
37+
close(): void;
38+
}
39+
//# sourceMappingURL=mapping.db.d.ts.map

infrastructure/web3-adapter/src/db/mapping.db.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/web3-adapter/src/db/mapping.db.js

Lines changed: 132 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/web3-adapter/src/db/mapping.db.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
export interface MetaEnvelope {
2+
id?: string | null;
3+
schemaId: string;
4+
data: Record<string, any>;
5+
w3id: string;
6+
}
7+
export declare class EVaultClient {
8+
private registryUrl;
9+
private platform;
10+
private client;
11+
private endpoint;
12+
private tokenInfo;
13+
private httpClient;
14+
private isDisposed;
15+
constructor(registryUrl: string, platform: string);
16+
/**
17+
* Cleanup method to properly dispose of resources
18+
*/
19+
dispose(): void;
20+
/**
21+
* Retry wrapper with exponential backoff
22+
*/
23+
private withRetry;
24+
/**
25+
* Requests a platform token from the registry
26+
* @returns Promise<string> - The platform token
27+
*/
28+
private requestPlatformToken;
29+
/**
30+
* Checks if token needs refresh
31+
*/
32+
private isTokenExpired;
33+
/**
34+
* Ensures we have a valid platform token, requesting one if needed
35+
* @returns Promise<string> - The platform token
36+
*/
37+
private ensurePlatformToken;
38+
private resolveEndpoint;
39+
private ensureClient;
40+
storeMetaEnvelope(envelope: MetaEnvelope): Promise<string>;
41+
storeReference(referenceId: string, w3id: string): Promise<void>;
42+
fetchMetaEnvelope(id: string, w3id: string): Promise<MetaEnvelope>;
43+
updateMetaEnvelopeById(id: string, envelope: MetaEnvelope): Promise<void>;
44+
}
45+
//# sourceMappingURL=evault.d.ts.map

infrastructure/web3-adapter/src/evault/evault.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)