@doorstepai/dropoff-sdk-capacitor 1.0.2 → 1.0.3
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/android/build.gradle +1 -1
- package/android/src/main/java/ai/doorstep/dropoffsdk/capacitor/DoorstepAIDropoffSDKPlugin.kt +133 -1
- package/dist/docs.json +282 -1
- package/dist/esm/definitions.d.ts +69 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +13 -1
- package/dist/esm/web.js +15 -0
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +15 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +15 -2
- package/dist/plugin.js.map +1 -1
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.abi.json +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +11 -11
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2113
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Info.plist +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +5365 -1558
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/Modules/DoorstepDropoffSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +82 -9
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/DoorstepDropoffSDK.framework/_CodeSignature/CodeResources +21 -21
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/DWARF/DoorstepDropoffSDK +0 -0
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/DoorstepDropoffSDK.yml +2630 -2113
- package/ios/DoorstepDropoffSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/DoorstepDropoffSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/DoorstepDropoffSDK.yml +2616 -2102
- package/ios/Plugin/DoorstepAIDropoffSDKPlugin.m +5 -0
- package/ios/Plugin/DoorstepAIDropoffSDKPlugin.swift +132 -1
- package/package.json +1 -1
package/dist/esm/web.js
CHANGED
|
@@ -41,6 +41,21 @@ export class DoorstepAIDropoffSDKWeb extends WebPlugin {
|
|
|
41
41
|
stopDelivery(_options) {
|
|
42
42
|
return this.unsupported('stopDelivery');
|
|
43
43
|
}
|
|
44
|
+
startRouteGeofencing(_options) {
|
|
45
|
+
return this.unsupported('startRouteGeofencing');
|
|
46
|
+
}
|
|
47
|
+
updateRouteStops(_options) {
|
|
48
|
+
return this.unsupported('updateRouteStops');
|
|
49
|
+
}
|
|
50
|
+
stopRouteGeofencing() {
|
|
51
|
+
return this.unsupported('stopRouteGeofencing');
|
|
52
|
+
}
|
|
53
|
+
resumeRouteGeofencingIfNeeded() {
|
|
54
|
+
return this.unsupported('resumeRouteGeofencingIfNeeded');
|
|
55
|
+
}
|
|
56
|
+
getMonitoredStops() {
|
|
57
|
+
return this.unsupported('getMonitoredStops');
|
|
58
|
+
}
|
|
44
59
|
checkPermissions() {
|
|
45
60
|
return this.unsupported('checkPermissions');
|
|
46
61
|
}
|
package/dist/esm/web.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAoB5C;;;;GAIG;AACH,MAAM,OAAO,uBACX,SAAQ,SAAS;IAGT,WAAW,CAAC,MAAc;QAChC,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,CAAC,WAAW,CACd,wBAAwB,MAAM,wCAAwC,CACvE,CACF,CAAC;IACJ,CAAC;IAED,IAAI,CAAC,QAAsB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,CAAC;IACD,SAAS,CAAC,QAA0B;QAClC,OAAO,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IACvC,CAAC;IACD,sBAAsB,CAAC,QAAuC;QAC5D,OAAO,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;IACpD,CAAC;IACD,uBAAuB,CAAC,QAAwC;QAC9D,OAAO,IAAI,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IACrD,CAAC;IACD,sBAAsB,CAAC,QAAuC;QAC5D,OAAO,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;IACpD,CAAC;IACD,0BAA0B,CAAC,QAAuC;QAChE,OAAO,IAAI,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC;IACxD,CAAC;IACD,4BAA4B,CAC1B,QAA6C;QAE7C,OAAO,IAAI,CAAC,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAC1D,CAAC;IACD,qBAAqB,CAAC,QAAsC;QAC1D,OAAO,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IACnD,CAAC;IACD,WAAW,CAAC,QAA4B;QACtC,OAAO,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;IACzC,CAAC;IACD,QAAQ,CAAC,QAAyB;QAChC,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;IACD,YAAY,CAAC,QAA6B;QACxC,OAAO,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;IAC1C,CAAC;IACD,oBAAoB,CAAC,QAGpB;QACC,OAAO,IAAI,CAAC,WAAW,CAAC,sBAAsB,CAAC,CAAC;IAClD,CAAC;IACD,gBAAgB,CAAC,QAAmC;QAClD,OAAO,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAC9C,CAAC;IACD,mBAAmB;QACjB,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC,CAAC;IACjD,CAAC;IACD,6BAA6B;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAAC;IAC3D,CAAC;IACD,iBAAiB;QACf,OAAO,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAC/C,CAAC;IACD,gBAAgB;QACd,OAAO,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;IAC9C,CAAC;IACD,kBAAkB,CAAC,QAAmC;QACpD,OAAO,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
3
|
var core = require('@capacitor/core');
|
|
6
4
|
|
|
7
5
|
const native = core.registerPlugin('DoorstepAIDropoffSDK', {
|
|
@@ -70,6 +68,21 @@ class DoorstepAIDropoffSDKWeb extends core.WebPlugin {
|
|
|
70
68
|
stopDelivery(_options) {
|
|
71
69
|
return this.unsupported('stopDelivery');
|
|
72
70
|
}
|
|
71
|
+
startRouteGeofencing(_options) {
|
|
72
|
+
return this.unsupported('startRouteGeofencing');
|
|
73
|
+
}
|
|
74
|
+
updateRouteStops(_options) {
|
|
75
|
+
return this.unsupported('updateRouteStops');
|
|
76
|
+
}
|
|
77
|
+
stopRouteGeofencing() {
|
|
78
|
+
return this.unsupported('stopRouteGeofencing');
|
|
79
|
+
}
|
|
80
|
+
resumeRouteGeofencingIfNeeded() {
|
|
81
|
+
return this.unsupported('resumeRouteGeofencingIfNeeded');
|
|
82
|
+
}
|
|
83
|
+
getMonitoredStops() {
|
|
84
|
+
return this.unsupported('getMonitoredStops');
|
|
85
|
+
}
|
|
73
86
|
checkPermissions() {
|
|
74
87
|
return this.unsupported('checkPermissions');
|
|
75
88
|
}
|
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 { Capacitor, registerPlugin } from '@capacitor/core';\nconst native = registerPlugin('DoorstepAIDropoffSDK', {\n web: () => import('./web').then(m => new m.DoorstepAIDropoffSDKWeb()),\n});\n// Mirrors the Flutter SDK: `init` is a no-op on iOS (the foreground-service\n// setup it performs is Android-only). Skipping the bridge call on iOS saves\n// a round-trip and matches the Dart implementation exactly.\n//\n// `registerPlugin` returns a Proxy that dispatches calls dynamically; spreading\n// it would drop every method, so we wrap with our own Proxy that overrides\n// only `init` and delegates the rest.\nconst DoorstepAIDropoffSDK = new Proxy(native, {\n get(target, prop, receiver) {\n if (prop === 'init') {\n return (options) => {\n if (Capacitor.getPlatform() !== 'android') {\n return Promise.resolve();\n }\n return target.init(options);\n };\n }\n return Reflect.get(target, prop, receiver);\n },\n});\nexport * from './definitions';\nexport { DoorstepAIDropoffSDK };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\n/**\n * Web stub. The Dropoff SDK is native-only — every call rejects with\n * `UNIMPLEMENTED` so failures surface immediately on the web platform\n * instead of silently no-op'ing.\n */\nexport class DoorstepAIDropoffSDKWeb extends WebPlugin {\n unsupported(method) {\n return Promise.reject(this.unavailable(`DoorstepAIDropoffSDK.${method} is not available on the web platform.`));\n }\n init(_options) {\n return this.unsupported('init');\n }\n setApiKey(_options) {\n return this.unsupported('setApiKey');\n }\n startDeliveryByPlaceID(_options) {\n return this.unsupported('startDeliveryByPlaceID');\n }\n startDeliveryByPlusCode(_options) {\n return this.unsupported('startDeliveryByPlusCode');\n }\n startDeliveryByAddress(_options) {\n return this.unsupported('startDeliveryByAddress');\n }\n startDeliveryByAddressType(_options) {\n return this.unsupported('startDeliveryByAddressType');\n }\n startDeliveryByAddressString(_options) {\n return this.unsupported('startDeliveryByAddressString');\n }\n startDeliveryByLatLng(_options) {\n return this.unsupported('startDeliveryByLatLng');\n }\n markDropoff(_options) {\n return this.unsupported('markDropoff');\n }\n newEvent(_options) {\n return this.unsupported('newEvent');\n }\n stopDelivery(_options) {\n return this.unsupported('stopDelivery');\n }\n checkPermissions() {\n return this.unsupported('checkPermissions');\n }\n requestPermissions(_options) {\n return this.unsupported('requestPermissions');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","Capacitor","WebPlugin"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { Capacitor, registerPlugin } from '@capacitor/core';\nconst native = registerPlugin('DoorstepAIDropoffSDK', {\n web: () => import('./web').then(m => new m.DoorstepAIDropoffSDKWeb()),\n});\n// Mirrors the Flutter SDK: `init` is a no-op on iOS (the foreground-service\n// setup it performs is Android-only). Skipping the bridge call on iOS saves\n// a round-trip and matches the Dart implementation exactly.\n//\n// `registerPlugin` returns a Proxy that dispatches calls dynamically; spreading\n// it would drop every method, so we wrap with our own Proxy that overrides\n// only `init` and delegates the rest.\nconst DoorstepAIDropoffSDK = new Proxy(native, {\n get(target, prop, receiver) {\n if (prop === 'init') {\n return (options) => {\n if (Capacitor.getPlatform() !== 'android') {\n return Promise.resolve();\n }\n return target.init(options);\n };\n }\n return Reflect.get(target, prop, receiver);\n },\n});\nexport * from './definitions';\nexport { DoorstepAIDropoffSDK };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\n/**\n * Web stub. The Dropoff SDK is native-only — every call rejects with\n * `UNIMPLEMENTED` so failures surface immediately on the web platform\n * instead of silently no-op'ing.\n */\nexport class DoorstepAIDropoffSDKWeb extends WebPlugin {\n unsupported(method) {\n return Promise.reject(this.unavailable(`DoorstepAIDropoffSDK.${method} is not available on the web platform.`));\n }\n init(_options) {\n return this.unsupported('init');\n }\n setApiKey(_options) {\n return this.unsupported('setApiKey');\n }\n startDeliveryByPlaceID(_options) {\n return this.unsupported('startDeliveryByPlaceID');\n }\n startDeliveryByPlusCode(_options) {\n return this.unsupported('startDeliveryByPlusCode');\n }\n startDeliveryByAddress(_options) {\n return this.unsupported('startDeliveryByAddress');\n }\n startDeliveryByAddressType(_options) {\n return this.unsupported('startDeliveryByAddressType');\n }\n startDeliveryByAddressString(_options) {\n return this.unsupported('startDeliveryByAddressString');\n }\n startDeliveryByLatLng(_options) {\n return this.unsupported('startDeliveryByLatLng');\n }\n markDropoff(_options) {\n return this.unsupported('markDropoff');\n }\n newEvent(_options) {\n return this.unsupported('newEvent');\n }\n stopDelivery(_options) {\n return this.unsupported('stopDelivery');\n }\n startRouteGeofencing(_options) {\n return this.unsupported('startRouteGeofencing');\n }\n updateRouteStops(_options) {\n return this.unsupported('updateRouteStops');\n }\n stopRouteGeofencing() {\n return this.unsupported('stopRouteGeofencing');\n }\n resumeRouteGeofencingIfNeeded() {\n return this.unsupported('resumeRouteGeofencingIfNeeded');\n }\n getMonitoredStops() {\n return this.unsupported('getMonitoredStops');\n }\n checkPermissions() {\n return this.unsupported('checkPermissions');\n }\n requestPermissions(_options) {\n return this.unsupported('requestP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,IAAI,mBAAmB,GAAG;AAC1B,QAAQ,OAAO,IAAI,CAAC,WAAW,CAAC,qBAAqB,CAAC;AACtD,IAAI;AACJ,IAAI,6BAA6B,GAAG;AACpC,QAAQ,OAAO,IAAI,CAAC,WAAW,CAAC,+BAA+B,CAAC;AAChE,IAAI;AACJ,IAAI,iBAAiB,GAAG;AACxB,QAAQ,OAAO,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC;AACpD,IAAI;AACJ,IAAI,gBAAgB,GAAG;AACvB,QAAQ,OAAO,IAAI,CAAC,WAAW,CAAC,kBAAkB,CAAC;AACnD,IAAI;AACJ,IAAI,kBAAkB,CAAC,QAAQ,EAAE;AACjC,QAAQ,OAAO,IAAI,CAAC,WAAW,CAAC,oBAAoB,CAAC;AACrD,IAAI;AACJ;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -67,6 +67,21 @@ var capacitorDoorstepAIDropoffSDK = (function (exports, core) {
|
|
|
67
67
|
stopDelivery(_options) {
|
|
68
68
|
return this.unsupported('stopDelivery');
|
|
69
69
|
}
|
|
70
|
+
startRouteGeofencing(_options) {
|
|
71
|
+
return this.unsupported('startRouteGeofencing');
|
|
72
|
+
}
|
|
73
|
+
updateRouteStops(_options) {
|
|
74
|
+
return this.unsupported('updateRouteStops');
|
|
75
|
+
}
|
|
76
|
+
stopRouteGeofencing() {
|
|
77
|
+
return this.unsupported('stopRouteGeofencing');
|
|
78
|
+
}
|
|
79
|
+
resumeRouteGeofencingIfNeeded() {
|
|
80
|
+
return this.unsupported('resumeRouteGeofencingIfNeeded');
|
|
81
|
+
}
|
|
82
|
+
getMonitoredStops() {
|
|
83
|
+
return this.unsupported('getMonitoredStops');
|
|
84
|
+
}
|
|
70
85
|
checkPermissions() {
|
|
71
86
|
return this.unsupported('checkPermissions');
|
|
72
87
|
}
|
|
@@ -82,8 +97,6 @@ var capacitorDoorstepAIDropoffSDK = (function (exports, core) {
|
|
|
82
97
|
|
|
83
98
|
exports.DoorstepAIDropoffSDK = DoorstepAIDropoffSDK;
|
|
84
99
|
|
|
85
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
86
|
-
|
|
87
100
|
return exports;
|
|
88
101
|
|
|
89
102
|
})({}, capacitorExports);
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { Capacitor, registerPlugin } from '@capacitor/core';\nconst native = registerPlugin('DoorstepAIDropoffSDK', {\n web: () => import('./web').then(m => new m.DoorstepAIDropoffSDKWeb()),\n});\n// Mirrors the Flutter SDK: `init` is a no-op on iOS (the foreground-service\n// setup it performs is Android-only). Skipping the bridge call on iOS saves\n// a round-trip and matches the Dart implementation exactly.\n//\n// `registerPlugin` returns a Proxy that dispatches calls dynamically; spreading\n// it would drop every method, so we wrap with our own Proxy that overrides\n// only `init` and delegates the rest.\nconst DoorstepAIDropoffSDK = new Proxy(native, {\n get(target, prop, receiver) {\n if (prop === 'init') {\n return (options) => {\n if (Capacitor.getPlatform() !== 'android') {\n return Promise.resolve();\n }\n return target.init(options);\n };\n }\n return Reflect.get(target, prop, receiver);\n },\n});\nexport * from './definitions';\nexport { DoorstepAIDropoffSDK };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\n/**\n * Web stub. The Dropoff SDK is native-only — every call rejects with\n * `UNIMPLEMENTED` so failures surface immediately on the web platform\n * instead of silently no-op'ing.\n */\nexport class DoorstepAIDropoffSDKWeb extends WebPlugin {\n unsupported(method) {\n return Promise.reject(this.unavailable(`DoorstepAIDropoffSDK.${method} is not available on the web platform.`));\n }\n init(_options) {\n return this.unsupported('init');\n }\n setApiKey(_options) {\n return this.unsupported('setApiKey');\n }\n startDeliveryByPlaceID(_options) {\n return this.unsupported('startDeliveryByPlaceID');\n }\n startDeliveryByPlusCode(_options) {\n return this.unsupported('startDeliveryByPlusCode');\n }\n startDeliveryByAddress(_options) {\n return this.unsupported('startDeliveryByAddress');\n }\n startDeliveryByAddressType(_options) {\n return this.unsupported('startDeliveryByAddressType');\n }\n startDeliveryByAddressString(_options) {\n return this.unsupported('startDeliveryByAddressString');\n }\n startDeliveryByLatLng(_options) {\n return this.unsupported('startDeliveryByLatLng');\n }\n markDropoff(_options) {\n return this.unsupported('markDropoff');\n }\n newEvent(_options) {\n return this.unsupported('newEvent');\n }\n stopDelivery(_options) {\n return this.unsupported('stopDelivery');\n }\n checkPermissions() {\n return this.unsupported('checkPermissions');\n }\n requestPermissions(_options) {\n return this.unsupported('requestPermissions');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","Capacitor","WebPlugin"],"mappings":";;;IACA,MAAM,MAAM,GAAGA,mBAAc,CAAC,sBAAsB,EAAE;IACtD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,uBAAuB,EAAE,CAAC;IACzE,CAAC,CAAC
|
|
1
|
+
{"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { Capacitor, registerPlugin } from '@capacitor/core';\nconst native = registerPlugin('DoorstepAIDropoffSDK', {\n web: () => import('./web').then(m => new m.DoorstepAIDropoffSDKWeb()),\n});\n// Mirrors the Flutter SDK: `init` is a no-op on iOS (the foreground-service\n// setup it performs is Android-only). Skipping the bridge call on iOS saves\n// a round-trip and matches the Dart implementation exactly.\n//\n// `registerPlugin` returns a Proxy that dispatches calls dynamically; spreading\n// it would drop every method, so we wrap with our own Proxy that overrides\n// only `init` and delegates the rest.\nconst DoorstepAIDropoffSDK = new Proxy(native, {\n get(target, prop, receiver) {\n if (prop === 'init') {\n return (options) => {\n if (Capacitor.getPlatform() !== 'android') {\n return Promise.resolve();\n }\n return target.init(options);\n };\n }\n return Reflect.get(target, prop, receiver);\n },\n});\nexport * from './definitions';\nexport { DoorstepAIDropoffSDK };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\n/**\n * Web stub. The Dropoff SDK is native-only — every call rejects with\n * `UNIMPLEMENTED` so failures surface immediately on the web platform\n * instead of silently no-op'ing.\n */\nexport class DoorstepAIDropoffSDKWeb extends WebPlugin {\n unsupported(method) {\n return Promise.reject(this.unavailable(`DoorstepAIDropoffSDK.${method} is not available on the web platform.`));\n }\n init(_options) {\n return this.unsupported('init');\n }\n setApiKey(_options) {\n return this.unsupported('setApiKey');\n }\n startDeliveryByPlaceID(_options) {\n return this.unsupported('startDeliveryByPlaceID');\n }\n startDeliveryByPlusCode(_options) {\n return this.unsupported('startDeliveryByPlusCode');\n }\n startDeliveryByAddress(_options) {\n return this.unsupported('startDeliveryByAddress');\n }\n startDeliveryByAddressType(_options) {\n return this.unsupported('startDeliveryByAddressType');\n }\n startDeliveryByAddressString(_options) {\n return this.unsupported('startDeliveryByAddressString');\n }\n startDeliveryByLatLng(_options) {\n return this.unsupported('startDeliveryByLatLng');\n }\n markDropoff(_options) {\n return this.unsupported('markDropoff');\n }\n newEvent(_options) {\n return this.unsupported('newEvent');\n }\n stopDelivery(_options) {\n return this.unsupported('stopDelivery');\n }\n startRouteGeofencing(_options) {\n return this.unsupported('startRouteGeofencing');\n }\n updateRouteStops(_options) {\n return this.unsupported('updateRouteStops');\n }\n stopRouteGeofencing() {\n return this.unsupported('stopRouteGeofencing');\n }\n resumeRouteGeofencingIfNeeded() {\n return this.unsupported('resumeRouteGeofencingIfNeeded');\n }\n getMonitoredStops() {\n return this.unsupported('getMonitoredStops');\n }\n checkPermissions() {\n return this.unsupported('checkPermissions');\n }\n requestPermissions(_options) {\n return this.unsupported('requestPermissions');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","Capacitor","WebPlugin"],"mappings":";;;IACA,MAAM,MAAM,GAAGA,mBAAc,CAAC,sBAAsB,EAAE;IACtD,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,uBAAuB,EAAE,CAAC;IAC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