@capgo/capacitor-watch 8.1.3 → 8.1.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/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapgoWatch = registerPlugin('CapgoWatch', {\n web: () => import('./web').then((m) => new m.CapgoWatchWeb()),\n});\nexport * from './definitions';\nexport { CapgoWatch };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapgoWatchWeb extends WebPlugin {\n async sendMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async updateApplicationContext(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async transferUserInfo(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async replyToMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async getInfo() {\n return {\n isSupported: false,\n isPaired: false,\n isWatchAppInstalled: false,\n isReachable: false,\n activationState: 0,\n };\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;AAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;AACjE,CAAC;;ACFM,MAAM,aAAa,SAASC,cAAS,CAAC;AAC7C,IAAI,MAAM,WAAW,CAAC,QAAQ,EAAE;AAChC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,wBAAwB,CAAC,QAAQ,EAAE;AAC7C,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,gBAAgB,CAAC,QAAQ,EAAE;AACrC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,cAAc,CAAC,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,OAAO;AACf,YAAY,WAAW,EAAE,KAAK;AAC9B,YAAY,QAAQ,EAAE,KAAK;AAC3B,YAAY,mBAAmB,EAAE,KAAK;AACtC,YAAY,WAAW,EAAE,KAAK;AAC9B,YAAY,eAAe,EAAE,CAAC;AAC9B,SAAS;AACT,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapgoWatch = registerPlugin('CapgoWatch', {\n web: () => import('./web').then((m) => new m.CapgoWatchWeb()),\n});\nexport * from './definitions';\nexport { CapgoWatch };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapgoWatchWeb extends WebPlugin {\n async sendMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async updateApplicationContext(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async transferUserInfo(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async replyToMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async getInfo() {\n return {\n isSupported: false,\n isPaired: false,\n isWatchAppInstalled: false,\n isReachable: false,\n activationState: 0,\n };\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;AAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;AACjE,CAAC;;ACFM,MAAM,aAAa,SAASC,cAAS,CAAC;AAC7C,IAAI,MAAM,WAAW,CAAC,QAAQ,EAAE;AAChC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,wBAAwB,CAAC,QAAQ,EAAE;AAC7C,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,gBAAgB,CAAC,QAAQ,EAAE;AACrC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,cAAc,CAAC,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;AACrE,IAAI;AACJ,IAAI,MAAM,OAAO,GAAG;AACpB,QAAQ,OAAO;AACf,YAAY,WAAW,EAAE,KAAK;AAC9B,YAAY,QAAQ,EAAE,KAAK;AAC3B,YAAY,mBAAmB,EAAE,KAAK;AACtC,YAAY,WAAW,EAAE,KAAK;AAC9B,YAAY,eAAe,EAAE,CAAC;AAC9B,SAAS;AACT,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ;;;;;;;"}
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapgoWatch = registerPlugin('CapgoWatch', {\n web: () => import('./web').then((m) => new m.CapgoWatchWeb()),\n});\nexport * from './definitions';\nexport { CapgoWatch };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapgoWatchWeb extends WebPlugin {\n async sendMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async updateApplicationContext(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async transferUserInfo(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async replyToMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async getInfo() {\n return {\n isSupported: false,\n isPaired: false,\n isWatchAppInstalled: false,\n isReachable: false,\n activationState: 0,\n };\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;IAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;IACjE,CAAC;;ICFM,MAAM,aAAa,SAASC,cAAS,CAAC;IAC7C,IAAI,MAAM,WAAW,CAAC,QAAQ,EAAE;IAChC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,wBAAwB,CAAC,QAAQ,EAAE;IAC7C,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,gBAAgB,CAAC,QAAQ,EAAE;IACrC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,cAAc,CAAC,QAAQ,EAAE;IACnC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,OAAO,GAAG;IACpB,QAAQ,OAAO;IACf,YAAY,WAAW,EAAE,KAAK;IAC9B,YAAY,QAAQ,EAAE,KAAK;IAC3B,YAAY,mBAAmB,EAAE,KAAK;IACtC,YAAY,WAAW,EAAE,KAAK;IAC9B,YAAY,eAAe,EAAE,CAAC;IAC9B,SAAS;IACT,IAAI;IACJ,IAAI,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;IACjC,IAAI;IACJ
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapgoWatch = registerPlugin('CapgoWatch', {\n web: () => import('./web').then((m) => new m.CapgoWatchWeb()),\n});\nexport * from './definitions';\nexport { CapgoWatch };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapgoWatchWeb extends WebPlugin {\n async sendMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async updateApplicationContext(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async transferUserInfo(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async replyToMessage(_options) {\n throw this.unavailable('Apple Watch is not available on web');\n }\n async getInfo() {\n return {\n isSupported: false,\n isPaired: false,\n isWatchAppInstalled: false,\n isReachable: false,\n activationState: 0,\n };\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,UAAU,GAAGA,mBAAc,CAAC,YAAY,EAAE;IAChD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;IACjE,CAAC;;ICFM,MAAM,aAAa,SAASC,cAAS,CAAC;IAC7C,IAAI,MAAM,WAAW,CAAC,QAAQ,EAAE;IAChC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,wBAAwB,CAAC,QAAQ,EAAE;IAC7C,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,gBAAgB,CAAC,QAAQ,EAAE;IACrC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,cAAc,CAAC,QAAQ,EAAE;IACnC,QAAQ,MAAM,IAAI,CAAC,WAAW,CAAC,qCAAqC,CAAC;IACrE,IAAI;IACJ,IAAI,MAAM,OAAO,GAAG;IACpB,QAAQ,OAAO;IACf,YAAY,WAAW,EAAE,KAAK;IAC9B,YAAY,QAAQ,EAAE,KAAK;IAC3B,YAAY,mBAAmB,EAAE,KAAK;IACtC,YAAY,WAAW,EAAE,KAAK;IAC9B,YAAY,eAAe,EAAE,CAAC;IAC9B,SAAS;IACT,IAAI;IACJ,IAAI,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;IACjC,IAAI;IACJ;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ import WatchConnectivity
|
|
|
6
6
|
/// here: https://capacitorjs.com/docs/plugins/ios
|
|
7
7
|
@objc(CapgoWatchPlugin)
|
|
8
8
|
public class CapgoWatchPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
9
|
-
private let pluginVersion: String = "8.1.
|
|
9
|
+
private let pluginVersion: String = "8.1.5"
|
|
10
10
|
public let identifier = "CapgoWatchPlugin"
|
|
11
11
|
public let jsName = "CapgoWatch"
|
|
12
12
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-watch",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.5",
|
|
4
4
|
"description": "Capacitor plugin for Apple Watch communication with bidirectional messaging support",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"watch": "tsc --watch",
|
|
52
52
|
"prepublishOnly": "bun run build",
|
|
53
53
|
"check:wiring": "node scripts/check-capacitor-plugin-wiring.mjs",
|
|
54
|
+
"check:cap9-deprecated": "node scripts/check-cap9-deprecated.mjs",
|
|
54
55
|
"example:install": "cd example-app && bun install --frozen-lockfile",
|
|
55
56
|
"example:build": "bun run build && cd example-app && bun install --frozen-lockfile && bun run build",
|
|
56
57
|
"changelog:ai": "node scripts/generate-ai-changelog.mjs"
|