@intentlayer/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,25 @@
1
+ import {
2
+ GLOBAL_FLAG_FX_SAFETY,
3
+ GLOBAL_FLAG_NO_BRIDGE,
4
+ GLOBAL_FLAG_POST_CONDITIONS,
5
+ buildMinimalPolicyBootstrapIntent,
6
+ buildPolicyBootstrapIntent,
7
+ generatePolicyId,
8
+ hasRegistries,
9
+ serializePolicyIntent,
10
+ summarizePolicyFeatures,
11
+ validatePolicyBootstrapIntent
12
+ } from "./chunk-E4GOMRS5.mjs";
13
+ import "./chunk-XP4I75K7.mjs";
14
+ export {
15
+ GLOBAL_FLAG_FX_SAFETY,
16
+ GLOBAL_FLAG_NO_BRIDGE,
17
+ GLOBAL_FLAG_POST_CONDITIONS,
18
+ buildMinimalPolicyBootstrapIntent,
19
+ buildPolicyBootstrapIntent,
20
+ generatePolicyId,
21
+ hasRegistries,
22
+ serializePolicyIntent,
23
+ summarizePolicyFeatures,
24
+ validatePolicyBootstrapIntent
25
+ };
@@ -0,0 +1,29 @@
1
+ import {
2
+ buildAllRegistriesIntent,
3
+ buildApprovalOnlyIntent,
4
+ buildOracleOnlyIntent,
5
+ buildRegistryBootstrapIntent,
6
+ buildVendorOnlyIntent,
7
+ buildVenueOnlyIntent,
8
+ generateProfileId,
9
+ hasRegistriesEnabled,
10
+ serializeRegistryIntent,
11
+ stringToProfileId,
12
+ summarizeRegistryFeatures,
13
+ validateRegistryBootstrapIntent
14
+ } from "./chunk-ABTKEYXQ.mjs";
15
+ import "./chunk-XP4I75K7.mjs";
16
+ export {
17
+ buildAllRegistriesIntent,
18
+ buildApprovalOnlyIntent,
19
+ buildOracleOnlyIntent,
20
+ buildRegistryBootstrapIntent,
21
+ buildVendorOnlyIntent,
22
+ buildVenueOnlyIntent,
23
+ generateProfileId,
24
+ hasRegistriesEnabled,
25
+ serializeRegistryIntent,
26
+ stringToProfileId,
27
+ summarizeRegistryFeatures,
28
+ validateRegistryBootstrapIntent
29
+ };
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@intentlayer/sdk",
3
+ "version": "0.1.0",
4
+ "description": "TypeScript SDK for building, signing, and verifying intents on Intent Layer",
5
+ "main": "./dist/index.js",
6
+ "module": "./dist/index.mjs",
7
+ "types": "./dist/index.d.ts",
8
+ "license": "MIT",
9
+ "author": "Intent Layer",
10
+ "sideEffects": false,
11
+ "files": [
12
+ "dist",
13
+ "README.md",
14
+ "LICENSE"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.mjs",
20
+ "require": "./dist/index.js"
21
+ }
22
+ },
23
+ "scripts": {
24
+ "build": "tsup src/index.ts --format esm,cjs --dts --clean",
25
+ "dev": "tsup src/index.ts --watch",
26
+ "test": "vitest",
27
+ "test:watch": "vitest --watch",
28
+ "docs": "typedoc src --out docs"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "https://github.com/intentlayerhq/sdk.git"
36
+ },
37
+ "homepage": "https://intentlayer.co",
38
+ "bugs": {
39
+ "url": "https://github.com/intentlayerhq/sdk/issues"
40
+ },
41
+ "keywords": [
42
+ "intent-layer",
43
+ "eip-712",
44
+ "intents",
45
+ "web3",
46
+ "ethereum",
47
+ "viem",
48
+ "smart-wallet"
49
+ ],
50
+ "peerDependencies": {
51
+ "viem": "^2.28.3"
52
+ },
53
+ "devDependencies": {
54
+ "@types/node": "^22.14.0",
55
+ "tsup": "^8.0.1",
56
+ "typedoc": "^0.25.6",
57
+ "typescript": "^5.8.3",
58
+ "viem": "^2.28.3",
59
+ "vitest": "^3.1.3"
60
+ }
61
+ }