@aboutcircles/sdk 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.
@@ -0,0 +1,11 @@
1
+ import type { Address, AvatarInfo, TokenBalance, AggregatedTrustRelation } from '@aboutcircles/sdk-types';
2
+ /**
3
+ * Circles data access layer
4
+ * Provides read access to Circles protocol data
5
+ */
6
+ export interface CirclesData {
7
+ getAvatar(address: Address): Promise<AvatarInfo | undefined>;
8
+ getTrustRelations(address: Address): Promise<AggregatedTrustRelation[]>;
9
+ getBalances(address: Address): Promise<TokenBalance[]>;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,UAAU,EACV,YAAY,EACZ,uBAAuB,EACxB,MAAM,yBAAyB,CAAC;AAGjC;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAC;IAC7D,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAAC;IACxE,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CACxD"}
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};
package/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@aboutcircles/sdk",
3
+ "version": "0.1.0",
4
+ "description": "Simplified Circles SDK for non-crypto users with low entrance barrier",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ }
13
+ },
14
+ "scripts": {
15
+ "build": "bun build ./src/index.ts --outdir ./dist --format esm --splitting && tsc --emitDeclarationOnly",
16
+ "dev": "tsc --build --watch",
17
+ "clean": "rm -rf dist tsconfig.tsbuildinfo"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "keywords": [
23
+ "circles",
24
+ "sdk",
25
+ "simplified",
26
+ "web3",
27
+ "ubi"
28
+ ],
29
+ "license": "MIT",
30
+ "dependencies": {
31
+ "@aboutcircles/sdk-types": "*",
32
+ "@aboutcircles/sdk-core": "*",
33
+ "@aboutcircles/sdk-rpc": "*",
34
+ "@aboutcircles/sdk-profiles": "*",
35
+ "@aboutcircles/sdk-utils": "*",
36
+ "@aboutcircles/sdk-runner": "*",
37
+ "@aboutcircles/sdk-pathfinder": "*",
38
+ "@aboutcircles/sdk-transfers": "*",
39
+ "viem": "^2.38.0"
40
+ },
41
+ "devDependencies": {
42
+ "typescript": "^5.0.4"
43
+ }
44
+ }