@bounded-sh/client 0.0.100 → 0.0.101
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/dist/index.d.ts +3 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.native.d.ts +3 -1
- package/dist/index.native.js +16 -0
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,9 @@ export { reconcileSetResult, waitForSetResult } from "@bounded-sh/core";
|
|
|
16
16
|
export type { SetResult, SetEntry, SetDocuments, MirrorSync, SolanaFence, ChainTag, SolanaChainTag, CommittedSetResult, ConfirmedSetResult, SolanaConfirmedSetResult, SubmittedSetResult, SolanaSubmittedSetResult, SolanaExpiredNotLandedSetResult, SolanaSignedSetResult, TransactionResult, TransactionReconciliation, ReconcileSetResultOptions, WaitForSetResultOptions, FileUploadResult, FileDeleteResult, } from "@bounded-sh/core";
|
|
17
17
|
export { subscribe } from "@bounded-sh/core";
|
|
18
18
|
export { createClient, ScopedClientReadOnlyError } from "@bounded-sh/core";
|
|
19
|
-
export type { BoundedClient, CreateClientConfig } from "@bounded-sh/core";
|
|
19
|
+
export type { BoundedClient, CreateClientConfig, ScopedAuthHeadersProvider } from "@bounded-sh/core";
|
|
20
|
+
export { exchangeAppToken, clearAppTokenCache, createAppTokenAuthHeaders, AppTokenExchangeError } from "@bounded-sh/core";
|
|
21
|
+
export type { AppToken, AppTokenGiveUp, ExchangeAppTokenOptions, AppTokenAuthHeadersOptions } from "@bounded-sh/core";
|
|
20
22
|
export { BoundedDeclineError, deriveDecline, dispatchDeclineEvent, DECLINE_EVENT_NAME } from "@bounded-sh/core";
|
|
21
23
|
export type { BoundedDecline, DeclineReason, DeclineBoundary } from "@bounded-sh/core";
|
|
22
24
|
export { dispatchRateLimitEvent, RATE_LIMIT_EVENT_NAME } from "@bounded-sh/core";
|
package/dist/index.js
CHANGED
|
@@ -62,6 +62,10 @@ exports.useAuth = index.useAuth;
|
|
|
62
62
|
exports.useBuildRun = index.useBuildRun;
|
|
63
63
|
exports.useQuery = index.useQuery;
|
|
64
64
|
exports.waitForAuthReady = index.waitForAuthReady;
|
|
65
|
+
Object.defineProperty(exports, "AppTokenExchangeError", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return core.AppTokenExchangeError; }
|
|
68
|
+
});
|
|
65
69
|
Object.defineProperty(exports, "BoundedDeclineError", {
|
|
66
70
|
enumerable: true,
|
|
67
71
|
get: function () { return core.BoundedDeclineError; }
|
|
@@ -82,10 +86,18 @@ Object.defineProperty(exports, "aggregate", {
|
|
|
82
86
|
enumerable: true,
|
|
83
87
|
get: function () { return core.aggregate; }
|
|
84
88
|
});
|
|
89
|
+
Object.defineProperty(exports, "clearAppTokenCache", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return core.clearAppTokenCache; }
|
|
92
|
+
});
|
|
85
93
|
Object.defineProperty(exports, "count", {
|
|
86
94
|
enumerable: true,
|
|
87
95
|
get: function () { return core.count; }
|
|
88
96
|
});
|
|
97
|
+
Object.defineProperty(exports, "createAppTokenAuthHeaders", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return core.createAppTokenAuthHeaders; }
|
|
100
|
+
});
|
|
89
101
|
Object.defineProperty(exports, "createClient", {
|
|
90
102
|
enumerable: true,
|
|
91
103
|
get: function () { return core.createClient; }
|
|
@@ -106,6 +118,10 @@ Object.defineProperty(exports, "docId", {
|
|
|
106
118
|
enumerable: true,
|
|
107
119
|
get: function () { return core.docId; }
|
|
108
120
|
});
|
|
121
|
+
Object.defineProperty(exports, "exchangeAppToken", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return core.exchangeAppToken; }
|
|
124
|
+
});
|
|
109
125
|
Object.defineProperty(exports, "get", {
|
|
110
126
|
enumerable: true,
|
|
111
127
|
get: function () { return core.get; }
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ag as BUILD_DELEGATED_REVIEW_CAPABILITY_SCHEMA, af as BUILD_REVIEW_CAPABILITY_REFRESH_SCHEMA, ae as BUILD_REVIEW_CAPABILITY_SCHEMA, a7 as BuildsApiError, ad as FAILURE_REASONS, a9 as NON_TERMINAL_STATES, a1 as OffchainAuthProvider, ac as PARK_REASONS, a2 as PrivyExpoProvider, ab as RUN_STATES, aa as TERMINAL_STATES, W as WalletConfigError, Q as apps, a6 as builds, I as completeLoginFromRedirect, K as completeLoginInPopup, a4 as connectBroadcast, a5 as connectServiceSession, o as defaultInjectedEvmProvider, f as defaultInjectedProvider, F as ensureSharedWalletLoginReady, M as ensureSignedIn, E as ensureWalletLoginReady, w as getAuthLoading, A as getAuthProvider, q as getCurrentUser, Y as getIdToken, S as getOrCreateTurnkeyWallet, g as getPlatform, V as getTurnkeyWalletRecoveryUrl, U as getTurnkeyWalletSessionState, p as init, y as login, J as loginWithPopup, C as loginWithPrivy, H as loginWithRedirect, D as loginWithWallet, z as logout, a8 as mediaAgentTools, v as onAuthLoadingChanged, u as onAuthStateChanged, Z as onramp, _ as onrampQuote, $ as onrampStatus, L as openBoundedWidget, T as openTurnkeyKeyExport, G as preloadWalletLogin, a3 as requestEip6963Providers, a0 as setPlatform, B as signInAnonymously, R as signSolanaMessageViaTurnkey, X as startTurnkeyEmailLogin, N as useAuth, P as useBuildRun, O as useQuery, x as waitForAuthReady } from './index-CaZx7sd8.mjs';
|
|
2
2
|
export * from '@bounded-sh/core';
|
|
3
|
-
export { BoundedDeclineError, DECLINE_EVENT_NAME, RATE_LIMIT_EVENT_NAME, ScopedClientReadOnlyError, aggregate, count, createClient, deriveDecline, dispatchDeclineEvent, dispatchRateLimitEvent, docId, get, getConfig, getFiles, getMany, queryAggregate, reconcileSetResult, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe, waitForSetResult } from '@bounded-sh/core';
|
|
3
|
+
export { AppTokenExchangeError, BoundedDeclineError, DECLINE_EVENT_NAME, RATE_LIMIT_EVENT_NAME, ScopedClientReadOnlyError, aggregate, clearAppTokenCache, count, createAppTokenAuthHeaders, createClient, deriveDecline, dispatchDeclineEvent, dispatchRateLimitEvent, docId, exchangeAppToken, get, getConfig, getFiles, getMany, queryAggregate, reconcileSetResult, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe, waitForSetResult } from '@bounded-sh/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.native.d.ts
CHANGED
|
@@ -18,7 +18,9 @@ export { reconcileSetResult, waitForSetResult } from "@bounded-sh/core";
|
|
|
18
18
|
export type { SetResult, SetEntry, SetDocuments, MirrorSync, SolanaFence, ChainTag, SolanaChainTag, CommittedSetResult, ConfirmedSetResult, SolanaConfirmedSetResult, SubmittedSetResult, SolanaSubmittedSetResult, SolanaExpiredNotLandedSetResult, SolanaSignedSetResult, TransactionResult, TransactionReconciliation, ReconcileSetResultOptions, WaitForSetResultOptions, FileUploadResult, FileDeleteResult, } from "@bounded-sh/core";
|
|
19
19
|
export { subscribe } from "@bounded-sh/core";
|
|
20
20
|
export { createClient, ScopedClientReadOnlyError } from "@bounded-sh/core";
|
|
21
|
-
export type { BoundedClient, CreateClientConfig } from "@bounded-sh/core";
|
|
21
|
+
export type { BoundedClient, CreateClientConfig, ScopedAuthHeadersProvider } from "@bounded-sh/core";
|
|
22
|
+
export { exchangeAppToken, clearAppTokenCache, createAppTokenAuthHeaders, AppTokenExchangeError } from "@bounded-sh/core";
|
|
23
|
+
export type { AppToken, AppTokenGiveUp, ExchangeAppTokenOptions, AppTokenAuthHeadersOptions } from "@bounded-sh/core";
|
|
22
24
|
export { BoundedDeclineError, deriveDecline, dispatchDeclineEvent, DECLINE_EVENT_NAME } from "@bounded-sh/core";
|
|
23
25
|
export type { BoundedDecline, DeclineReason, DeclineBoundary } from "@bounded-sh/core";
|
|
24
26
|
export * from "@bounded-sh/core";
|
package/dist/index.native.js
CHANGED
|
@@ -44,6 +44,10 @@ exports.useAuth = index_native.useAuth;
|
|
|
44
44
|
exports.useBuildRun = index_native.useBuildRun;
|
|
45
45
|
exports.useQuery = index_native.useQuery;
|
|
46
46
|
exports.waitForAuthReady = index_native.waitForAuthReady;
|
|
47
|
+
Object.defineProperty(exports, "AppTokenExchangeError", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return core.AppTokenExchangeError; }
|
|
50
|
+
});
|
|
47
51
|
Object.defineProperty(exports, "BoundedDeclineError", {
|
|
48
52
|
enumerable: true,
|
|
49
53
|
get: function () { return core.BoundedDeclineError; }
|
|
@@ -60,10 +64,18 @@ Object.defineProperty(exports, "aggregate", {
|
|
|
60
64
|
enumerable: true,
|
|
61
65
|
get: function () { return core.aggregate; }
|
|
62
66
|
});
|
|
67
|
+
Object.defineProperty(exports, "clearAppTokenCache", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return core.clearAppTokenCache; }
|
|
70
|
+
});
|
|
63
71
|
Object.defineProperty(exports, "count", {
|
|
64
72
|
enumerable: true,
|
|
65
73
|
get: function () { return core.count; }
|
|
66
74
|
});
|
|
75
|
+
Object.defineProperty(exports, "createAppTokenAuthHeaders", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return core.createAppTokenAuthHeaders; }
|
|
78
|
+
});
|
|
67
79
|
Object.defineProperty(exports, "createClient", {
|
|
68
80
|
enumerable: true,
|
|
69
81
|
get: function () { return core.createClient; }
|
|
@@ -80,6 +92,10 @@ Object.defineProperty(exports, "docId", {
|
|
|
80
92
|
enumerable: true,
|
|
81
93
|
get: function () { return core.docId; }
|
|
82
94
|
});
|
|
95
|
+
Object.defineProperty(exports, "exchangeAppToken", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return core.exchangeAppToken; }
|
|
98
|
+
});
|
|
83
99
|
Object.defineProperty(exports, "get", {
|
|
84
100
|
enumerable: true,
|
|
85
101
|
get: function () { return core.get; }
|
package/dist/index.native.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.native.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.native.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { a1 as BUILD_DELEGATED_REVIEW_CAPABILITY_SCHEMA, a0 as BUILD_REVIEW_CAPABILITY_REFRESH_SCHEMA, $ as BUILD_REVIEW_CAPABILITY_SCHEMA, U as BuildsApiError, _ as FAILURE_REASONS, W as NON_TERMINAL_STATES, R as OffchainAuthProvider, Z as PARK_REASONS, S as PrivyExpoProvider, Y as RUN_STATES, X as TERMINAL_STATES, L as apps, T as builds, F as completeLoginFromRedirect, H as completeLoginInPopup, x as getAuthLoading, B as getAuthProvider, u as getCurrentUser, M as getIdToken, g as getPlatform, q as init, z as login, G as loginWithPopup, D as loginWithPrivy, E as loginWithRedirect, A as logout, V as mediaAgentTools, w as onAuthLoadingChanged, v as onAuthStateChanged, N as onramp, O as onrampQuote, P as onrampStatus, Q as setPlatform, C as signInAnonymously, I as useAuth, K as useBuildRun, J as useQuery, y as waitForAuthReady } from './index.native-3T0IcOed.mjs';
|
|
2
2
|
export * from '@bounded-sh/core';
|
|
3
|
-
export { BoundedDeclineError, DECLINE_EVENT_NAME, ScopedClientReadOnlyError, aggregate, count, createClient, deriveDecline, dispatchDeclineEvent, docId, get, getConfig, getFiles, getMany, queryAggregate, reconcileSetResult, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe, waitForSetResult } from '@bounded-sh/core';
|
|
3
|
+
export { AppTokenExchangeError, BoundedDeclineError, DECLINE_EVENT_NAME, ScopedClientReadOnlyError, aggregate, clearAppTokenCache, count, createAppTokenAuthHeaders, createClient, deriveDecline, dispatchDeclineEvent, docId, exchangeAppToken, get, getConfig, getFiles, getMany, queryAggregate, reconcileSetResult, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe, waitForSetResult } from '@bounded-sh/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
//# sourceMappingURL=index.native.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bounded-sh/client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.101",
|
|
4
4
|
"description": "Web and React Native client SDK for Bounded, the full-stack app builder and runtime for AI-built apps: hosted auth, policy-enforced data, files and search, functions, realtime subscriptions, and atomic writes.",
|
|
5
5
|
"homepage": "https://bounded.sh/docs/sdk",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"vite": "7.3.5"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@bounded-sh/core": "0.0.
|
|
118
|
+
"@bounded-sh/core": "0.0.101",
|
|
119
119
|
"@coral-xyz/anchor": "0.31.1",
|
|
120
120
|
"@noble/curves": "^1.9.7",
|
|
121
121
|
"@solana/kit": "8.2.0",
|