@athletic/capacitor-firebase-realtime 6.0.0 → 7.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorFirebaseRealtime = registerPlugin('CapacitorFirebaseRealtime', {\n web: () => import('./web').then(m => new m.CapacitorFirebaseRealtimeWeb()),\n});\nexport * from './definitions';\nexport { CapacitorFirebaseRealtime };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorFirebaseRealtimeWeb extends WebPlugin {\n async signOut() {\n return null;\n }\n async initialize(options) {\n JSON.stringify(options);\n return { signedIn: false };\n }\n async signInWithCustomToken(options) {\n JSON.stringify(options);\n return null;\n }\n async updateChildren(options) {\n throw ('CapacitorFirebaseRealtimeWeb.updateChildren: Web version has not been implemented ' + JSON.stringify(options));\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,yBAAyB,GAAGA,mBAAc,CAAC,2BAA2B,EAAE;AAC9E,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC9E,CAAC;;ACFM,MAAM,4BAA4B,SAASC,cAAS,CAAC;AAC5D,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;AAC9B,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAChC,QAAQ,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;AACnC,KAAK;AACL,IAAI,MAAM,qBAAqB,CAAC,OAAO,EAAE;AACzC,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;AAChC,QAAQ,OAAO,IAAI,CAAC;AACpB,KAAK;AACL,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;AAClC,QAAQ,OAAO,oFAAoF,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;AAC/H,KAAK;AACL;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorFirebaseRealtime = registerPlugin('CapacitorFirebaseRealtime', {\n web: () => import('./web').then(m => new m.CapacitorFirebaseRealtimeWeb()),\n});\nexport * from './definitions';\nexport { CapacitorFirebaseRealtime };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorFirebaseRealtimeWeb extends WebPlugin {\n async signOut() {\n return null;\n }\n async initialize(options) {\n JSON.stringify(options);\n return { signedIn: false };\n }\n async signInWithCustomToken(options) {\n JSON.stringify(options);\n return null;\n }\n async updateChildren(options) {\n throw ('CapacitorFirebaseRealtimeWeb.updateChildren: Web version has not been implemented ' + JSON.stringify(options));\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,yBAAyB,GAAGA,mBAAc,CAAC,2BAA2B,EAAE;AAC9E,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,4BAA4B,EAAE,CAAC;AAC9E,CAAC;;ACFM,MAAM,4BAA4B,SAASC,cAAS,CAAC;AAC5D,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,OAAO,IAAI;AACnB,IAAI;AACJ,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;AAC9B,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;AAC/B,QAAQ,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;AAClC,IAAI;AACJ,IAAI,MAAM,qBAAqB,CAAC,OAAO,EAAE;AACzC,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;AAC/B,QAAQ,OAAO,IAAI;AACnB,IAAI;AACJ,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;AAClC,QAAQ,OAAO,oFAAoF,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;AAC7H,IAAI;AACJ;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorFirebaseRealtime = registerPlugin('CapacitorFirebaseRealtime', {\n web: () => import('./web').then(m => new m.CapacitorFirebaseRealtimeWeb()),\n});\nexport * from './definitions';\nexport { CapacitorFirebaseRealtime };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorFirebaseRealtimeWeb extends WebPlugin {\n async signOut() {\n return null;\n }\n async initialize(options) {\n JSON.stringify(options);\n return { signedIn: false };\n }\n async signInWithCustomToken(options) {\n JSON.stringify(options);\n return null;\n }\n async updateChildren(options) {\n throw ('CapacitorFirebaseRealtimeWeb.updateChildren: Web version has not been implemented ' + JSON.stringify(options));\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,yBAAyB,GAAGA,mBAAc,CAAC,2BAA2B,EAAE;IAC9E,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,4BAA4B,EAAE,CAAC;IAC9E,CAAC;;ICFM,MAAM,4BAA4B,SAASC,cAAS,CAAC;IAC5D,IAAI,MAAM,OAAO,GAAG;IACpB,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,QAAQ,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACnC,KAAK;IACL,IAAI,MAAM,qBAAqB,CAAC,OAAO,EAAE;IACzC,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAChC,QAAQ,OAAO,IAAI,CAAC;IACpB,KAAK;IACL,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;IAClC,QAAQ,OAAO,oFAAoF,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;IAC/H,KAAK;IACL;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorFirebaseRealtime = registerPlugin('CapacitorFirebaseRealtime', {\n web: () => import('./web').then(m => new m.CapacitorFirebaseRealtimeWeb()),\n});\nexport * from './definitions';\nexport { CapacitorFirebaseRealtime };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorFirebaseRealtimeWeb extends WebPlugin {\n async signOut() {\n return null;\n }\n async initialize(options) {\n JSON.stringify(options);\n return { signedIn: false };\n }\n async signInWithCustomToken(options) {\n JSON.stringify(options);\n return null;\n }\n async updateChildren(options) {\n throw ('CapacitorFirebaseRealtimeWeb.updateChildren: Web version has not been implemented ' + JSON.stringify(options));\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,yBAAyB,GAAGA,mBAAc,CAAC,2BAA2B,EAAE;IAC9E,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,4BAA4B,EAAE,CAAC;IAC9E,CAAC;;ICFM,MAAM,4BAA4B,SAASC,cAAS,CAAC;IAC5D,IAAI,MAAM,OAAO,GAAG;IACpB,QAAQ,OAAO,IAAI;IACnB,IAAI;IACJ,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAC/B,QAAQ,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE;IAClC,IAAI;IACJ,IAAI,MAAM,qBAAqB,CAAC,OAAO,EAAE;IACzC,QAAQ,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAC/B,QAAQ,OAAO,IAAI;IACnB,IAAI;IACJ,IAAI,MAAM,cAAc,CAAC,OAAO,EAAE;IAClC,QAAQ,OAAO,oFAAoF,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;IAC7H,IAAI;IACJ;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athletic/capacitor-firebase-realtime",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Capacitor Firebase Realtime plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -36,32 +36,32 @@
36
36
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
37
37
  "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
38
38
  "eslint": "eslint . --ext ts",
39
- "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
39
+ "prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
40
40
  "swiftlint": "node-swiftlint",
41
41
  "docgen": "docgen --api CapacitorFirebaseRealtimePlugin --output-readme README.md --output-json dist/docs.json",
42
- "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
42
+ "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
43
43
  "clean": "rimraf ./dist",
44
44
  "watch": "tsc --watch",
45
45
  "prepublishOnly": "npm run build"
46
46
  },
47
47
  "devDependencies": {
48
- "@capacitor/android": "^6.0.0",
49
- "@capacitor/core": "^6.0.0",
50
- "@capacitor/docgen": "^0.2.1",
51
- "@capacitor/ios": "^6.0.0",
52
- "@ionic/eslint-config": "^0.3.0",
53
- "@ionic/prettier-config": "^3.0.0",
54
- "@ionic/swiftlint-config": "^1.1.2",
55
- "eslint": "^8.42.0",
56
- "prettier": "~2.8.8",
57
- "prettier-plugin-java": "~2.1.0",
58
- "rimraf": "^5.0.1",
59
- "rollup": "^3.25.1",
60
- "swiftlint": "^1.0.2",
48
+ "@capacitor/android": "^7.0.0",
49
+ "@capacitor/core": "^7.0.0",
50
+ "@capacitor/docgen": "^0.3.0",
51
+ "@capacitor/ios": "^7.0.0",
52
+ "@ionic/eslint-config": "^0.4.0",
53
+ "@ionic/prettier-config": "^4.0.0",
54
+ "@ionic/swiftlint-config": "^2.0.0",
55
+ "eslint": "^8.57.0",
56
+ "prettier": "^3.4.2",
57
+ "prettier-plugin-java": "^2.6.6",
58
+ "rimraf": "^6.0.1",
59
+ "rollup": "^4.30.1",
60
+ "swiftlint": "^2.0.0",
61
61
  "typescript": "~5.4.2"
62
62
  },
63
63
  "peerDependencies": {
64
- "@capacitor/core": "^6.0.0"
64
+ "@capacitor/core": ">=7.0.0"
65
65
  },
66
66
  "prettier": "@ionic/prettier-config",
67
67
  "swiftlint": "@ionic/swiftlint-config",