@frontiertower/frontier-sdk 0.3.4 → 0.7.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 +30 -0
- package/dist/index.d.mts +816 -1
- package/dist/index.d.ts +816 -1
- package/dist/index.js +534 -0
- package/dist/index.mjs +531 -0
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -51,6 +51,10 @@ Your app must declare required permissions in the Frontier app registry:
|
|
|
51
51
|
- `wallet:transferNative` - Transfer native currency (ETH)
|
|
52
52
|
- `wallet:transferFrontierDollar` - Transfer Frontier Dollars
|
|
53
53
|
- `wallet:executeCall` - Execute arbitrary contract calls
|
|
54
|
+
- `wallet:executeBatchCall` - Execute multiple contract calls atomically
|
|
55
|
+
- `wallet:getSupportedTokens` - Get list of supported tokens for swaps
|
|
56
|
+
- `wallet:swap` - Execute token swaps (same-chain or cross-chain)
|
|
57
|
+
- `wallet:quoteSwap` - Get quotes for token swaps
|
|
54
58
|
|
|
55
59
|
### Storage Permissions
|
|
56
60
|
- `storage:get` - Read from storage
|
|
@@ -65,6 +69,32 @@ Your app must declare required permissions in the Frontier app registry:
|
|
|
65
69
|
- `user:getReferralDetails` - Access detailed referral information
|
|
66
70
|
- `user:addUserContact` - Add user contact information
|
|
67
71
|
|
|
72
|
+
### Partnerships Permissions
|
|
73
|
+
- `partnerships:listSponsors` - List sponsors you manage (paginated)
|
|
74
|
+
- `partnerships:getSponsor` - Retrieve a Sponsor by ID
|
|
75
|
+
- `partnerships:createSponsorPass` - Create a SponsorPass
|
|
76
|
+
- `partnerships:listActiveSponsorPasses` - List active SponsorPasses (paginated)
|
|
77
|
+
- `partnerships:listAllSponsorPasses` - List all SponsorPasses (paginated)
|
|
78
|
+
- `partnerships:getSponsorPass` - Retrieve a SponsorPass by ID
|
|
79
|
+
- `partnerships:revokeSponsorPass` - Revoke a SponsorPass by ID
|
|
80
|
+
|
|
81
|
+
### Third-Party Permissions
|
|
82
|
+
- `thirdParty:listDevelopers` - List developer accounts (paginated)
|
|
83
|
+
- `thirdParty:getDeveloper` - Get developer details by ID
|
|
84
|
+
- `thirdParty:updateDeveloper` - Update developer information
|
|
85
|
+
- `thirdParty:rotateDeveloperApiKey` - Rotate developer API key
|
|
86
|
+
- `thirdParty:listApps` - List registered apps (paginated)
|
|
87
|
+
- `thirdParty:createApp` - Register a new app
|
|
88
|
+
- `thirdParty:getApp` - Get app details by ID
|
|
89
|
+
- `thirdParty:updateApp` - Update an app
|
|
90
|
+
- `thirdParty:deleteApp` - Request app deactivation
|
|
91
|
+
- `thirdParty:listWebhooks` - List webhooks (paginated)
|
|
92
|
+
- `thirdParty:createWebhook` - Create a new webhook
|
|
93
|
+
- `thirdParty:getWebhook` - Get webhook details by ID
|
|
94
|
+
- `thirdParty:updateWebhook` - Update a webhook
|
|
95
|
+
- `thirdParty:deleteWebhook` - Delete a webhook
|
|
96
|
+
- `thirdParty:rotateWebhookSigningKey` - Rotate webhook signing key
|
|
97
|
+
|
|
68
98
|
### Chain Permissions
|
|
69
99
|
- `chain:getCurrentNetwork` - Get current network name
|
|
70
100
|
- `chain:getAvailableNetworks` - Get list of available networks
|