@capgo/capacitor-ibeacon 8.1.36 → 8.1.38

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.
@@ -44,7 +44,7 @@ import org.altbeacon.beacon.Settings;
44
44
  )
45
45
  public class CapacitorIbeaconPlugin extends Plugin implements BeaconConsumer {
46
46
 
47
- private final String pluginVersion = "8.1.36";
47
+ private final String pluginVersion = "8.1.38";
48
48
  private static final String FOREGROUND_CHANNEL_ID = "beacon_service_channel";
49
49
  private static final int FOREGROUND_NOTIFICATION_ID = 456;
50
50
  private BeaconManager beaconManager;
package/dist/esm/web.js CHANGED
@@ -1,22 +1,17 @@
1
1
  import { WebPlugin } from '@capacitor/core';
2
2
  export class CapacitorIbeaconWeb extends WebPlugin {
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
3
  startMonitoringForRegion(_options) {
5
4
  throw new Error('Method not implemented on web platform.');
6
5
  }
7
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
8
6
  stopMonitoringForRegion(_options) {
9
7
  throw new Error('Method not implemented on web platform.');
10
8
  }
11
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
9
  startRangingBeaconsInRegion(_options) {
13
10
  throw new Error('Method not implemented on web platform.');
14
11
  }
15
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
16
12
  stopRangingBeaconsInRegion(_options) {
17
13
  throw new Error('Method not implemented on web platform.');
18
14
  }
19
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
20
15
  startAdvertising(_options) {
21
16
  throw new Error('Method not implemented on web platform.');
22
17
  }
@@ -38,18 +33,15 @@ export class CapacitorIbeaconWeb extends WebPlugin {
38
33
  isRangingAvailable() {
39
34
  return Promise.resolve({ available: false });
40
35
  }
41
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
42
36
  enableARMAFilter(_options) {
43
37
  throw new Error('Method not implemented on web platform.');
44
38
  }
45
39
  async getPluginVersion() {
46
40
  return { version: 'web' };
47
41
  }
48
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
49
42
  enableBackgroundMode(_options) {
50
43
  throw new Error('Method not implemented on web platform.');
51
44
  }
52
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
53
45
  setBackgroundScanPeriod(_options) {
54
46
  throw new Error('Method not implemented on web platform.');
55
47
  }
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAS5C,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD,6DAA6D;IAC7D,wBAAwB,CAAC,QAAsB;QAC7C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6DAA6D;IAC7D,uBAAuB,CAAC,QAAsB;QAC5C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6DAA6D;IAC7D,2BAA2B,CAAC,QAAsB;QAChD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6DAA6D;IAC7D,0BAA0B,CAAC,QAAsB;QAC/C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6DAA6D;IAC7D,gBAAgB,CAAC,QAAkC;QACjD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,eAAe;QACb,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6BAA6B;QAC3B,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,0BAA0B;QACxB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,sBAAsB;QACpB,OAAO,OAAO,CAAC,O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AkC;QACjD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,eAAe;QACb,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,6BAA6B;QAC3B,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,0BAA0B;QACxB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,sBAAsB;QACpB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC,CAAC;IACvD,CAAC;IAED,kBAAkB;QAChB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,kBAAkB;QAChB,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,gBAAgB,CAAC,QAA8B;QAC7C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,KAAK,CAAC,gBAAgB;QACpB,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC5B,CAAC;IAED,oBAAoB,CAAC,QAA8B;QACjD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;IAED,uBAAuB,CAAC,QAAqC;QAC3D,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC7D,CAAC;CACF"}
@@ -7,23 +7,18 @@ const CapacitorIbeacon = core.registerPlugin('CapacitorIbeacon', {
7
7
  });
8
8
 
9
9
  class CapacitorIbeaconWeb extends core.WebPlugin {
10
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
11
10
  startMonitoringForRegion(_options) {
12
11
  throw new Error('Method not implemented on web platform.');
13
12
  }
14
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
15
13
  stopMonitoringForRegion(_options) {
16
14
  throw new Error('Method not implemented on web platform.');
17
15
  }
18
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
19
16
  startRangingBeaconsInRegion(_options) {
20
17
  throw new Error('Method not implemented on web platform.');
21
18
  }
22
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
23
19
  stopRangingBeaconsInRegion(_options) {
24
20
  throw new Error('Method not implemented on web platform.');
25
21
  }
26
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
27
22
  startAdvertising(_options) {
28
23
  throw new Error('Method not implemented on web platform.');
29
24
  }
@@ -45,18 +40,15 @@ class CapacitorIbeaconWeb extends core.WebPlugin {
45
40
  isRangingAvailable() {
46
41
  return Promise.resolve({ available: false });
47
42
  }
48
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
49
43
  enableARMAFilter(_options) {
50
44
  throw new Error('Method not implemented on web platform.');
51
45
  }
52
46
  async getPluginVersion() {
53
47
  return { version: 'web' };
54
48
  }
55
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
56
49
  enableBackgroundMode(_options) {
57
50
  throw new Error('Method not implemented on web platform.');
58
51
  }
59
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
60
52
  setBackgroundScanPeriod(_options) {
61
53
  throw new Error('Method not implemented on web platform.');
62
54
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorIbeacon = registerPlugin('CapacitorIbeacon', {\n web: () => import('./web').then((m) => new m.CapacitorIbeaconWeb()),\n});\nexport * from './definitions';\nexport { CapacitorIbeacon };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorIbeaconWeb extends WebPlugin {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n stopMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n stopRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startAdvertising(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopAdvertising() {\n throw new Error('Method not implemented on web platform.');\n }\n requestWhenInUseAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n requestAlwaysAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n getAuthorizationStatus() {\n return Promise.resolve({ status: 'not_determined' });\n }\n isBluetoothEnabled() {\n return Promise.resolve({ enabled: false });\n }\n isRangingAvailable() {\n return Promise.resolve({ available: false });\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enableARMAFilter(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enableBackgroundMode(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setBackgroundScanPeriod(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;AAC5D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;AACvE,CAAC;;ACFM,MAAM,mBAAmB,SAASC,cAAS,CAAC;AACnD;AACA,IAAI,wBAAwB,CAAC,QAAQ,EAAE;AACvC,QAAQ,M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M,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ;AACA,IAAI,oBAAoB,CAAC,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ;AACA,IAAI,uBAAuB,CAAC,QAAQ,EAAE;AACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorIbeacon = registerPlugin('CapacitorIbeacon', {\n web: () => import('./web').then((m) => new m.CapacitorIbeaconWeb()),\n});\nexport * from './definitions';\nexport { CapacitorIbeacon };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorIbeaconWeb extends WebPlugin {\n startMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n startRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n startAdvertising(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopAdvertising() {\n throw new Error('Method not implemented on web platform.');\n }\n requestWhenInUseAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n requestAlwaysAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n getAuthorizationStatus() {\n return Promise.resolve({ status: 'not_determined' });\n }\n isBluetoothEnabled() {\n return Promise.resolve({ enabled: false });\n }\n isRangingAvailable() {\n return Promise.resolve({ available: false });\n }\n enableARMAFilter(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n enableBackgroundMode(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n setBackgroundScanPeriod(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;;AACK,MAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;AAC5D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;AACvE,CAAC;;ACFM,MAAM,mBAAmB,SAASC,cAAS,CAAC;AACnD,IAAI,wBAAwB,CAAC,QAAQ,EAAE;AACvC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,uBAAuB,CAAC,QAAQ,EAAE;AACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,2BAA2B,CAAC,QAAQ,EAAE;AAC1C,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,0BAA0B,CAAC,QAAQ,EAAE;AACzC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,gBAAgB,CAAC,QAAQ,EAAE;AAC/B,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,eAAe,GAAG;AACtB,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,6BAA6B,GAAG;AACpC,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACpD,IAAI;AACJ,IAAI,0BAA0B,GAAG;AACjC,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;AACpD,IAAI;AACJ,IAAI,sBAAsB,GAAG;AAC7B,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,CAAC;AAC5D,IAAI;AACJ,IAAI,kBAAkB,GAAG;AACzB,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AAClD,IAAI;AACJ,IAAI,kBAAkB,GAAG;AACzB,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;AACpD,IAAI;AACJ,IAAI,gBAAgB,CAAC,QAAQ,EAAE;AAC/B,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,MAAM,gBAAgB,GAAG;AAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;AACjC,IAAI;AACJ,IAAI,oBAAoB,CAAC,QAAQ,EAAE;AACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ,IAAI,uBAAuB,CAAC,QAAQ,EAAE;AACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;AAClE,IAAI;AACJ;;;;;;;"}
package/dist/plugin.js CHANGED
@@ -6,23 +6,18 @@ var capacitorCapacitorIbeacon = (function (exports, core) {
6
6
  });
7
7
 
8
8
  class CapacitorIbeaconWeb extends core.WebPlugin {
9
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10
9
  startMonitoringForRegion(_options) {
11
10
  throw new Error('Method not implemented on web platform.');
12
11
  }
13
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
14
12
  stopMonitoringForRegion(_options) {
15
13
  throw new Error('Method not implemented on web platform.');
16
14
  }
17
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
18
15
  startRangingBeaconsInRegion(_options) {
19
16
  throw new Error('Method not implemented on web platform.');
20
17
  }
21
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
22
18
  stopRangingBeaconsInRegion(_options) {
23
19
  throw new Error('Method not implemented on web platform.');
24
20
  }
25
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
26
21
  startAdvertising(_options) {
27
22
  throw new Error('Method not implemented on web platform.');
28
23
  }
@@ -44,18 +39,15 @@ var capacitorCapacitorIbeacon = (function (exports, core) {
44
39
  isRangingAvailable() {
45
40
  return Promise.resolve({ available: false });
46
41
  }
47
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
48
42
  enableARMAFilter(_options) {
49
43
  throw new Error('Method not implemented on web platform.');
50
44
  }
51
45
  async getPluginVersion() {
52
46
  return { version: 'web' };
53
47
  }
54
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
55
48
  enableBackgroundMode(_options) {
56
49
  throw new Error('Method not implemented on web platform.');
57
50
  }
58
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
59
51
  setBackgroundScanPeriod(_options) {
60
52
  throw new Error('Method not implemented on web platform.');
61
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorIbeacon = registerPlugin('CapacitorIbeacon', {\n web: () => import('./web').then((m) => new m.CapacitorIbeaconWeb()),\n});\nexport * from './definitions';\nexport { CapacitorIbeacon };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorIbeaconWeb extends WebPlugin {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n stopMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n stopRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n startAdvertising(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopAdvertising() {\n throw new Error('Method not implemented on web platform.');\n }\n requestWhenInUseAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n requestAlwaysAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n getAuthorizationStatus() {\n return Promise.resolve({ status: 'not_determined' });\n }\n isBluetoothEnabled() {\n return Promise.resolve({ enabled: false });\n }\n isRangingAvailable() {\n return Promise.resolve({ available: false });\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enableARMAFilter(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n enableBackgroundMode(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n setBackgroundScanPeriod(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;IAC5D,IAAI,GAAG,EAAE,MAAM,mDAAe,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,mBAAmB,EAAE,CAAC;IACvE,CAAC;;ICFM,MAAM,mBAAmB,SAASC,cAAS,CAAC;IACnD;IACA,IAAI,wBAAwB,CAAC,QAAQ,EAAE;IACvC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ;IACA,IAAI,uBAAuB,CAAC,QAAQ,EAAE;IACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ;IACA,IAAI,2BAA2B,CAAC,QAAQ,EAAE;IAC1C,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC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I;IACJ;IACA,IAAI,uBAAuB,CAAC,QAAQ,EAAE;IACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst CapacitorIbeacon = registerPlugin('CapacitorIbeacon', {\n web: () => import('./web').then((m) => new m.CapacitorIbeaconWeb()),\n});\nexport * from './definitions';\nexport { CapacitorIbeacon };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class CapacitorIbeaconWeb extends WebPlugin {\n startMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopMonitoringForRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n startRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopRangingBeaconsInRegion(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n startAdvertising(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n stopAdvertising() {\n throw new Error('Method not implemented on web platform.');\n }\n requestWhenInUseAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n requestAlwaysAuthorization() {\n return Promise.resolve({ status: 'denied' });\n }\n getAuthorizationStatus() {\n return Promise.resolve({ status: 'not_determined' });\n }\n isBluetoothEnabled() {\n return Promise.resolve({ enabled: false });\n }\n isRangingAvailable() {\n return Promise.resolve({ available: false });\n }\n enableARMAFilter(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n async getPluginVersion() {\n return { version: 'web' };\n }\n enableBackgroundMode(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n setBackgroundScanPeriod(_options) {\n throw new Error('Method not implemented on web platform.');\n }\n}\n//# sourceMappingURL=web.js.map"],"names":["registerPlugin","WebPlugin"],"mappings":";;;AACK,UAAC,gBAAgB,GAAGA,mBAAc,CAAC,kBAAkB,EAAE;IAC5D,IAAI,GAAG,EA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J,IAAI,kBAAkB,GAAG;IACzB,QAAQ,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACpD,IAAI;IACJ,IAAI,gBAAgB,CAAC,QAAQ,EAAE;IAC/B,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ,IAAI,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;IACjC,IAAI;IACJ,IAAI,oBAAoB,CAAC,QAAQ,EAAE;IACnC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ,IAAI,uBAAuB,CAAC,QAAQ,EAAE;IACtC,QAAQ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC;IAClE,IAAI;IACJ;;;;;;;;;;;"}
@@ -4,7 +4,7 @@ import CoreLocation
4
4
 
5
5
  @objc(CapacitorIbeaconPlugin)
6
6
  public class CapacitorIbeaconPlugin: CAPPlugin, CAPBridgedPlugin {
7
- private let pluginVersion: String = "8.1.36"
7
+ private let pluginVersion: String = "8.1.38"
8
8
  public let identifier = "CapacitorIbeaconPlugin"
9
9
  public let jsName = "CapacitorIbeacon"
10
10
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-ibeacon",
3
- "version": "8.1.36",
3
+ "version": "8.1.38",
4
4
  "description": "iBeacon plugin for Capacitor - proximity detection and beacon region monitoring",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -65,11 +65,13 @@
65
65
  "@capacitor/core": "^8.0.0",
66
66
  "@capacitor/docgen": "^0.3.1",
67
67
  "@capacitor/ios": "^8.0.0",
68
- "@ionic/eslint-config": "^0.4.0",
68
+ "@ionic/eslint-config": "^0.5.0",
69
69
  "@ionic/prettier-config": "^4.0.0",
70
70
  "@ionic/swiftlint-config": "^2.0.0",
71
71
  "@types/node": "^26.0.0",
72
- "eslint": "^8.57.1",
72
+ "@typescript-eslint/eslint-plugin": "^8.70.0",
73
+ "@typescript-eslint/parser": "^8.70.0",
74
+ "eslint": "^10.0.0",
73
75
  "eslint-plugin-import": "^2.31.0",
74
76
  "husky": "^9.1.7",
75
77
  "prettier": "^3.6.2",
@@ -83,9 +85,6 @@
83
85
  "peerDependencies": {
84
86
  "@capacitor/core": ">=8.0.0"
85
87
  },
86
- "eslintConfig": {
87
- "extends": "@ionic/eslint-config/recommended"
88
- },
89
88
  "prettier": "@ionic/prettier-config",
90
89
  "swiftlint": "@ionic/swiftlint-config",
91
90
  "capacitor": {