krisspy-sdk 0.5.3 → 0.5.5
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.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -16
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Krisspy SDK Types
|
|
3
3
|
*/
|
|
4
4
|
interface KrisspyClientOptions {
|
|
5
|
-
/** Base URL of the Krisspy API (default: https://
|
|
5
|
+
/** Base URL of the Krisspy API (default: https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io) */
|
|
6
6
|
url?: string;
|
|
7
7
|
/** Backend ID for this client */
|
|
8
8
|
backendId: string;
|
|
@@ -1202,7 +1202,7 @@ declare class KrisspyClient {
|
|
|
1202
1202
|
* const krisspy = createClient({
|
|
1203
1203
|
* backendId: 'abc123',
|
|
1204
1204
|
* anonKey: 'your-anon-key',
|
|
1205
|
-
* url: 'https://
|
|
1205
|
+
* url: 'https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io', // optional
|
|
1206
1206
|
* })
|
|
1207
1207
|
*/
|
|
1208
1208
|
declare function createClient(options: KrisspyClientOptions): KrisspyClient;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Krisspy SDK Types
|
|
3
3
|
*/
|
|
4
4
|
interface KrisspyClientOptions {
|
|
5
|
-
/** Base URL of the Krisspy API (default: https://
|
|
5
|
+
/** Base URL of the Krisspy API (default: https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io) */
|
|
6
6
|
url?: string;
|
|
7
7
|
/** Backend ID for this client */
|
|
8
8
|
backendId: string;
|
|
@@ -1202,7 +1202,7 @@ declare class KrisspyClient {
|
|
|
1202
1202
|
* const krisspy = createClient({
|
|
1203
1203
|
* backendId: 'abc123',
|
|
1204
1204
|
* anonKey: 'your-anon-key',
|
|
1205
|
-
* url: 'https://
|
|
1205
|
+
* url: 'https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io', // optional
|
|
1206
1206
|
* })
|
|
1207
1207
|
*/
|
|
1208
1208
|
declare function createClient(options: KrisspyClientOptions): KrisspyClient;
|
package/dist/index.js
CHANGED
|
@@ -1737,7 +1737,7 @@ var QueryBuilder = class {
|
|
|
1737
1737
|
// src/client.ts
|
|
1738
1738
|
var KrisspyClient = class {
|
|
1739
1739
|
constructor(options) {
|
|
1740
|
-
this.baseUrl = options.url || "https://
|
|
1740
|
+
this.baseUrl = options.url || "https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io";
|
|
1741
1741
|
this.backendId = options.backendId;
|
|
1742
1742
|
this.debug = options.debug || false;
|
|
1743
1743
|
this.useRLS = options.useRLS !== false;
|
|
@@ -2000,18 +2000,3 @@ var KrisspyClient = class {
|
|
|
2000
2000
|
function createClient(options) {
|
|
2001
2001
|
return new KrisspyClient(options);
|
|
2002
2002
|
}
|
|
2003
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
2004
|
-
0 && (module.exports = {
|
|
2005
|
-
HttpClient,
|
|
2006
|
-
KrisspyAnalytics,
|
|
2007
|
-
KrisspyAuth,
|
|
2008
|
-
KrisspyClient,
|
|
2009
|
-
KrisspyRealtime,
|
|
2010
|
-
KrisspyStorage,
|
|
2011
|
-
QueryBuilder,
|
|
2012
|
-
RealtimeChannel,
|
|
2013
|
-
StorageBucket,
|
|
2014
|
-
createClient,
|
|
2015
|
-
isBrowser,
|
|
2016
|
-
isReactNative
|
|
2017
|
-
});
|
package/dist/index.mjs
CHANGED
|
@@ -1703,7 +1703,7 @@ var QueryBuilder = class {
|
|
|
1703
1703
|
// src/client.ts
|
|
1704
1704
|
var KrisspyClient = class {
|
|
1705
1705
|
constructor(options) {
|
|
1706
|
-
this.baseUrl = options.url || "https://
|
|
1706
|
+
this.baseUrl = options.url || "https://krisspy-cloud-backend.thankfulhill-66fc9e74.westeurope.azurecontainerapps.io";
|
|
1707
1707
|
this.backendId = options.backendId;
|
|
1708
1708
|
this.debug = options.debug || false;
|
|
1709
1709
|
this.useRLS = options.useRLS !== false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "krisspy-sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Krisspy Cloud SDK - Database, Auth, Storage, and Functions for your apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "tsup src/index.ts --format cjs,esm --dts --clean --target es2017",
|
|
18
|
+
"build": "tsup src/index.ts --format cjs,esm --dts --clean --target es2017 --platform browser",
|
|
19
19
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
20
20
|
"test": "vitest",
|
|
21
21
|
"lint": "eslint src --ext .ts",
|