krisspy-sdk 0.5.2 → 0.5.4

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 CHANGED
@@ -1152,6 +1152,7 @@ declare class KrisspyClient {
1152
1152
  *
1153
1153
  * Database, Auth, Storage, Functions, and Realtime for your apps.
1154
1154
  * A simpler alternative to Supabase.
1155
+ * Works on Web, React Native, Expo Snack, and Node.js.
1155
1156
  *
1156
1157
  * @example
1157
1158
  * import { createClient } from '@krisspy/sdk'
package/dist/index.d.ts CHANGED
@@ -1152,6 +1152,7 @@ declare class KrisspyClient {
1152
1152
  *
1153
1153
  * Database, Auth, Storage, Functions, and Realtime for your apps.
1154
1154
  * A simpler alternative to Supabase.
1155
+ * Works on Web, React Native, Expo Snack, and Node.js.
1155
1156
  *
1156
1157
  * @example
1157
1158
  * import { createClient } from '@krisspy/sdk'
package/dist/index.js CHANGED
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krisspy-sdk",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
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",