@bounded-sh/client 0.0.48 → 0.0.51
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 +21 -0
- package/dist/auth/index.d.ts +8 -1
- package/dist/auth/providers/guest-auth-provider.d.ts +7 -0
- package/dist/auth/providers/guest-keystore.d.ts +2 -0
- package/dist/builds/apps.d.ts +32 -0
- package/dist/builds/client.d.ts +74 -0
- package/dist/builds/index.d.ts +20 -0
- package/dist/builds/types.d.ts +127 -0
- package/dist/builds/watch.d.ts +20 -0
- package/dist/{email-auth-provider-GRj8IOg2.mjs → email-auth-provider-Bh2fDYcb.mjs} +2 -2
- package/dist/{email-auth-provider-GRj8IOg2.mjs.map → email-auth-provider-Bh2fDYcb.mjs.map} +1 -1
- package/dist/{email-auth-provider-DyxZTpx6.js → email-auth-provider-Bm6vmoy3.js} +2 -2
- package/dist/{email-auth-provider-DyxZTpx6.js.map → email-auth-provider-Bm6vmoy3.js.map} +1 -1
- package/dist/{email-auth-provider-CTyjwhLb.mjs → email-auth-provider-CdbhqElf.mjs} +2 -2
- package/dist/{email-auth-provider-CTyjwhLb.mjs.map → email-auth-provider-CdbhqElf.mjs.map} +1 -1
- package/dist/{email-auth-provider-CmunfauO.js → email-auth-provider-CnHsY8U-.js} +2 -2
- package/dist/{email-auth-provider-CmunfauO.js.map → email-auth-provider-CnHsY8U-.js.map} +1 -1
- package/dist/global.d.ts +6 -4
- package/dist/{guest-auth-provider-D54uHbov.js → guest-auth-provider-CHqB_uN0.js} +98 -14
- package/dist/guest-auth-provider-CHqB_uN0.js.map +1 -0
- package/dist/{guest-auth-provider-Dk_km5tF.mjs → guest-auth-provider-Dgmr7e0Z.mjs} +98 -14
- package/dist/guest-auth-provider-Dgmr7e0Z.mjs.map +1 -0
- package/dist/{guest-auth-provider-C4BuTNIa.mjs → guest-auth-provider-Xir8zyfZ.mjs} +98 -14
- package/dist/guest-auth-provider-Xir8zyfZ.mjs.map +1 -0
- package/dist/{guest-auth-provider-B68XT2lU.js → guest-auth-provider-fjOMwfpW.js} +98 -14
- package/dist/guest-auth-provider-fjOMwfpW.js.map +1 -0
- package/dist/hooks/useBuildRun.d.ts +13 -0
- package/dist/{index.native-BZCc0gO-.js → index-BsrZb496.js} +918 -29
- package/dist/index-BsrZb496.js.map +1 -0
- package/dist/{index.native-CytJPNQV.mjs → index-Cy0IRs6U.mjs} +907 -31
- package/dist/index-Cy0IRs6U.mjs.map +1 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.js +18 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{index-C0pR5b7j.mjs → index.native-B29WKXlr.mjs} +725 -151
- package/dist/index.native-B29WKXlr.mjs.map +1 -0
- package/dist/{index-JBeYYsGm.js → index.native-BaEZwiWd.js} +732 -153
- package/dist/index.native-BaEZwiWd.js.map +1 -0
- package/dist/index.native.d.ts +5 -0
- package/dist/index.native.js +10 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +1 -1
- package/dist/{injected-evm-wallet-provider-_eeYB1ww.js → injected-evm-wallet-provider-CEWIg-_U.js} +2 -2
- package/dist/{injected-evm-wallet-provider-_eeYB1ww.js.map → injected-evm-wallet-provider-CEWIg-_U.js.map} +1 -1
- package/dist/{injected-evm-wallet-provider-T-EF9C3W.js → injected-evm-wallet-provider-DUyX7Xj9.js} +2 -2
- package/dist/{injected-evm-wallet-provider-T-EF9C3W.js.map → injected-evm-wallet-provider-DUyX7Xj9.js.map} +1 -1
- package/dist/{injected-evm-wallet-provider-BOMLGGHM.mjs → injected-evm-wallet-provider-DWnpa6Yx.mjs} +2 -2
- package/dist/{injected-evm-wallet-provider-BOMLGGHM.mjs.map → injected-evm-wallet-provider-DWnpa6Yx.mjs.map} +1 -1
- package/dist/{injected-evm-wallet-provider-CxAiNN7R.mjs → injected-evm-wallet-provider-DkyIMRce.mjs} +2 -2
- package/dist/{injected-evm-wallet-provider-CxAiNN7R.mjs.map → injected-evm-wallet-provider-DkyIMRce.mjs.map} +1 -1
- package/dist/{injected-wallet-provider-BBZym7YQ.js → injected-wallet-provider-C65NiItg.js} +2 -2
- package/dist/{injected-wallet-provider-BBZym7YQ.js.map → injected-wallet-provider-C65NiItg.js.map} +1 -1
- package/dist/{injected-wallet-provider-B2T7JEvn.js → injected-wallet-provider-DpJvuK73.js} +2 -2
- package/dist/{injected-wallet-provider-B2T7JEvn.js.map → injected-wallet-provider-DpJvuK73.js.map} +1 -1
- package/dist/{injected-wallet-provider-B1uq3r4r.mjs → injected-wallet-provider-DqBpuASt.mjs} +2 -2
- package/dist/{injected-wallet-provider-B1uq3r4r.mjs.map → injected-wallet-provider-DqBpuASt.mjs.map} +1 -1
- package/dist/{injected-wallet-provider-DCwygA3j.mjs → injected-wallet-provider-DsesEVnZ.mjs} +2 -2
- package/dist/{injected-wallet-provider-DCwygA3j.mjs.map → injected-wallet-provider-DsesEVnZ.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/guest-auth-provider-B68XT2lU.js.map +0 -1
- package/dist/guest-auth-provider-C4BuTNIa.mjs.map +0 -1
- package/dist/guest-auth-provider-D54uHbov.js.map +0 -1
- package/dist/guest-auth-provider-Dk_km5tF.mjs.map +0 -1
- package/dist/index-C0pR5b7j.mjs.map +0 -1
- package/dist/index-JBeYYsGm.js.map +0 -1
- package/dist/index.native-BZCc0gO-.js.map +0 -1
- package/dist/index.native-CytJPNQV.mjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { init, getCurrentUser, onAuthStateChanged, onAuthLoadingChanged, getAuthLoading, login, logout, } from "./global";
|
|
2
|
-
export type { LoginOptions } from "./global";
|
|
2
|
+
export type { LoginOptions, LogoutOptions } from "./global";
|
|
3
3
|
export { getConfig } from "@bounded-sh/core";
|
|
4
4
|
export { getAuthProvider, signInAnonymously, loginWithPrivy } from "./auth";
|
|
5
5
|
export { loginWithRedirect, completeLoginFromRedirect, loginWithPopup, completeLoginInPopup } from "./auth";
|
|
@@ -9,10 +9,17 @@ export type { GetOptions as BoundedGetOptions } from "@bounded-sh/core";
|
|
|
9
9
|
export { subscribe } from "@bounded-sh/core";
|
|
10
10
|
export { BoundedDeclineError, deriveDecline, dispatchDeclineEvent, DECLINE_EVENT_NAME } from "@bounded-sh/core";
|
|
11
11
|
export type { BoundedDecline, DeclineReason, DeclineBoundary } from "@bounded-sh/core";
|
|
12
|
+
export { dispatchRateLimitEvent, RATE_LIMIT_EVENT_NAME } from "@bounded-sh/core";
|
|
13
|
+
export type { RateLimitEventDetail } from "@bounded-sh/core";
|
|
12
14
|
export * from "@bounded-sh/core";
|
|
13
15
|
export { useAuth } from "./auth/hooks/useAuth";
|
|
14
16
|
export { useQuery } from "./hooks/useQuery";
|
|
15
17
|
export type { UseQueryOptions, UseQueryResult } from "./hooks/useQuery";
|
|
18
|
+
export { useBuildRun } from "./hooks/useBuildRun";
|
|
19
|
+
export type { UseBuildRunOptions, UseBuildRunResult } from "./hooks/useBuildRun";
|
|
20
|
+
export * from "./builds";
|
|
21
|
+
export { apps } from "./builds/apps";
|
|
22
|
+
export type { AppListItem, CreatedApp, CreateAppOptions } from "./builds/apps";
|
|
16
23
|
export { deserializeTransaction } from "./auth/providers/sol/sol-utils";
|
|
17
24
|
export { getIdToken } from "./utils";
|
|
18
25
|
export { setPlatform, getPlatform } from "./platform";
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-BsrZb496.js');
|
|
4
4
|
var core = require('@bounded-sh/core');
|
|
5
5
|
require('react');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
exports.BuildsApiError = index.BuildsApiError;
|
|
10
|
+
exports.FAILURE_REASONS = index.FAILURE_REASONS;
|
|
11
|
+
exports.NON_TERMINAL_STATES = index.NON_TERMINAL_STATES;
|
|
9
12
|
exports.OffchainAuthProvider = index.OffchainAuthProvider;
|
|
13
|
+
exports.PARK_REASONS = index.PARK_REASONS;
|
|
10
14
|
exports.PrivyExpoProvider = index.PrivyExpoProvider;
|
|
15
|
+
exports.RUN_STATES = index.RUN_STATES;
|
|
16
|
+
exports.TERMINAL_STATES = index.TERMINAL_STATES;
|
|
17
|
+
exports.apps = index.apps;
|
|
18
|
+
exports.builds = index.builds;
|
|
11
19
|
exports.completeLoginFromRedirect = index.completeLoginFromRedirect;
|
|
12
20
|
exports.completeLoginInPopup = index.completeLoginInPopup;
|
|
13
21
|
exports.defaultInjectedEvmProvider = index.defaultInjectedEvmProvider;
|
|
@@ -30,6 +38,7 @@ exports.requestEip6963Providers = index.requestEip6963Providers;
|
|
|
30
38
|
exports.setPlatform = index.setPlatform;
|
|
31
39
|
exports.signInAnonymously = index.signInAnonymously;
|
|
32
40
|
exports.useAuth = index.useAuth;
|
|
41
|
+
exports.useBuildRun = index.useBuildRun;
|
|
33
42
|
exports.useQuery = index.useQuery;
|
|
34
43
|
Object.defineProperty(exports, "BoundedDeclineError", {
|
|
35
44
|
enumerable: true,
|
|
@@ -39,6 +48,10 @@ Object.defineProperty(exports, "DECLINE_EVENT_NAME", {
|
|
|
39
48
|
enumerable: true,
|
|
40
49
|
get: function () { return core.DECLINE_EVENT_NAME; }
|
|
41
50
|
});
|
|
51
|
+
Object.defineProperty(exports, "RATE_LIMIT_EVENT_NAME", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return core.RATE_LIMIT_EVENT_NAME; }
|
|
54
|
+
});
|
|
42
55
|
Object.defineProperty(exports, "aggregate", {
|
|
43
56
|
enumerable: true,
|
|
44
57
|
get: function () { return core.aggregate; }
|
|
@@ -55,6 +68,10 @@ Object.defineProperty(exports, "dispatchDeclineEvent", {
|
|
|
55
68
|
enumerable: true,
|
|
56
69
|
get: function () { return core.dispatchDeclineEvent; }
|
|
57
70
|
});
|
|
71
|
+
Object.defineProperty(exports, "dispatchRateLimitEvent", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return core.dispatchRateLimitEvent; }
|
|
74
|
+
});
|
|
58
75
|
Object.defineProperty(exports, "docId", {
|
|
59
76
|
enumerable: true,
|
|
60
77
|
get: function () { return core.docId; }
|
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
|
-
export { O as OffchainAuthProvider, P as PrivyExpoProvider, z as completeLoginFromRedirect, B as completeLoginInPopup, k as defaultInjectedEvmProvider, d as defaultInjectedProvider,
|
|
1
|
+
export { M as BuildsApiError, U as FAILURE_REASONS, N as NON_TERMINAL_STATES, O as OffchainAuthProvider, Q as PARK_REASONS, P as PrivyExpoProvider, R as RUN_STATES, T as TERMINAL_STATES, G as apps, L as builds, z as completeLoginFromRedirect, B as completeLoginInPopup, k as defaultInjectedEvmProvider, d as defaultInjectedProvider, H as deserializeTransaction, q as getAuthLoading, v as getAuthProvider, m as getCurrentUser, I as getIdToken, g as getPlatform, l as init, t as login, A as loginWithPopup, x as loginWithPrivy, y as loginWithRedirect, u as logout, p as onAuthLoadingChanged, o as onAuthStateChanged, K as requestEip6963Providers, J as setPlatform, w as signInAnonymously, C as useAuth, F as useBuildRun, D as useQuery } from './index-Cy0IRs6U.mjs';
|
|
2
2
|
export * from '@bounded-sh/core';
|
|
3
|
-
export { BoundedDeclineError, DECLINE_EVENT_NAME, aggregate, count, deriveDecline, dispatchDeclineEvent, docId, get, getConfig, getFiles, getMany, queryAggregate, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe } from '@bounded-sh/core';
|
|
3
|
+
export { BoundedDeclineError, DECLINE_EVENT_NAME, RATE_LIMIT_EVENT_NAME, aggregate, count, deriveDecline, dispatchDeclineEvent, dispatchRateLimitEvent, docId, get, getConfig, getFiles, getMany, queryAggregate, runExpression, runExpressionMany, runQuery, runQueryMany, search, set, setFile, setMany, signAndSubmitTransaction, signMessage, signTransaction, subscribe } from '@bounded-sh/core';
|
|
4
4
|
import 'react';
|
|
5
5
|
//# sourceMappingURL=index.mjs.map
|