@3dlook/wrist-photo-capture-angular 0.0.2-dev-20261022102306 → 0.0.2-dev-20261028132148

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.
@@ -4,6 +4,7 @@ import type { WristPhotoCaptureCustomEvent } from '@3dlook/wrist-photo-capture/d
4
4
  import type { WpcCaptureDetail as IWristPhotoCaptureWpcCaptureDetail } from '@3dlook/wrist-photo-capture/dist/components';
5
5
  import type { WpcOrientationChangeDetail as IWristPhotoCaptureWpcOrientationChangeDetail } from '@3dlook/wrist-photo-capture/dist/components';
6
6
  import type { WpcErrorDetail as IWristPhotoCaptureWpcErrorDetail } from '@3dlook/wrist-photo-capture/dist/components';
7
+ import type { WpcPermissionChangeDetail as IWristPhotoCaptureWpcPermissionChangeDetail } from '@3dlook/wrist-photo-capture/dist/components';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class WristPhotoCapture {
9
10
  protected z: NgZone;
@@ -11,9 +12,10 @@ export declare class WristPhotoCapture {
11
12
  wpcCapture: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcCaptureDetail>>;
12
13
  wpcOrientationChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcOrientationChangeDetail>>;
13
14
  wpcError: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>;
15
+ wpcPermissionChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcPermissionChangeDetail>>;
14
16
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<WristPhotoCapture, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<WristPhotoCapture, "wrist-photo-capture", never, { "captureMode": { "alias": "captureMode"; "required": false; }; "facing": { "alias": "facing"; "required": false; }; "hand": { "alias": "hand"; "required": false; }; "view": { "alias": "view"; "required": false; }; "viewLabel": { "alias": "viewLabel"; "required": false; }; }, { "wpcCapture": "wpcCapture"; "wpcOrientationChange": "wpcOrientationChange"; "wpcError": "wpcError"; }, never, ["*"], true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<WristPhotoCapture, "wrist-photo-capture", never, { "captureMode": { "alias": "captureMode"; "required": false; }; "facing": { "alias": "facing"; "required": false; }; "hand": { "alias": "hand"; "required": false; }; "view": { "alias": "view"; "required": false; }; "viewLabel": { "alias": "viewLabel"; "required": false; }; }, { "wpcCapture": "wpcCapture"; "wpcOrientationChange": "wpcOrientationChange"; "wpcError": "wpcError"; "wpcPermissionChange": "wpcPermissionChange"; }, never, ["*"], true, never>;
17
19
  }
18
20
  export declare interface WristPhotoCapture extends Components.WristPhotoCapture {
19
21
  /**
@@ -28,4 +30,8 @@ export declare interface WristPhotoCapture extends Components.WristPhotoCapture
28
30
  * Fires when camera access, capture, or a method call fails.
29
31
  */
30
32
  wpcError: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>;
33
+ /**
34
+ * Fires when the camera or motion-sensor permission status changes, with both current statuses.
35
+ */
36
+ wpcPermissionChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcPermissionChangeDetail>>;
31
37
  }
@@ -68,13 +68,14 @@ let WristPhotoCapture = class WristPhotoCapture {
68
68
  wpcCapture = new EventEmitter();
69
69
  wpcOrientationChange = new EventEmitter();
70
70
  wpcError = new EventEmitter();
71
+ wpcPermissionChange = new EventEmitter();
71
72
  constructor(c, r, z) {
72
73
  this.z = z;
73
74
  c.detach();
74
75
  this.el = r.nativeElement;
75
76
  }
76
77
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: WristPhotoCapture, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
77
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: WristPhotoCapture, isStandalone: true, selector: "wrist-photo-capture", inputs: { captureMode: "captureMode", facing: "facing", hand: "hand", view: "view", viewLabel: "viewLabel" }, outputs: { wpcCapture: "wpcCapture", wpcOrientationChange: "wpcOrientationChange", wpcError: "wpcError" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
78
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: WristPhotoCapture, isStandalone: true, selector: "wrist-photo-capture", inputs: { captureMode: "captureMode", facing: "facing", hand: "hand", view: "view", viewLabel: "viewLabel" }, outputs: { wpcCapture: "wpcCapture", wpcOrientationChange: "wpcOrientationChange", wpcError: "wpcError", wpcPermissionChange: "wpcPermissionChange" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
78
79
  };
79
80
  WristPhotoCapture = __decorate([
80
81
  ProxyCmp({
@@ -91,7 +92,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
91
92
  template: '<ng-content></ng-content>',
92
93
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
93
94
  inputs: ['captureMode', 'facing', 'hand', 'view', 'viewLabel'],
94
- outputs: ['wpcCapture', 'wpcOrientationChange', 'wpcError'],
95
+ outputs: ['wpcCapture', 'wpcOrientationChange', 'wpcError', 'wpcPermissionChange'],
95
96
  }]
96
97
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { wpcCapture: [{
97
98
  type: Output
@@ -99,6 +100,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
99
100
  type: Output
100
101
  }], wpcError: [{
101
102
  type: Output
103
+ }], wpcPermissionChange: [{
104
+ type: Output
102
105
  }] } });
103
106
 
104
107
  const DIRECTIVES = [
@@ -1 +1 @@
1
- {"version":3,"file":"3dlook-wrist-photo-capture-angular.mjs","sources":["../../src/directives/angular-component-lib/utils.ts","../../src/directives/proxies.ts","../../src/directives/index.ts","../../src/3dlook-wrist-photo-capture-angular.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n /**\n * In the event that proxyInputs is called\n * multiple times re-defining these inputs\n * will cause an error to be thrown. As a result\n * we set configurable: true to indicate these\n * properties can be changed.\n */\n configurable: true,\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement);\n }\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void; inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Output, NgZone } from '@angular/core';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\n\nimport type { Components } from '@3dlook/wrist-photo-capture/dist/components';\n\nimport { defineCustomElement as defineWristPhotoCapture } from '@3dlook/wrist-photo-capture/dist/components/wrist-photo-capture.js';\n@ProxyCmp({\n defineCustomElementFn: defineWristPhotoCapture,\n inputs: ['captureMode', 'facing', 'hand', 'view', 'viewLabel'],\n methods: ['start', 'capture', 'switchCamera', 'reset']\n})\n@Component({\n selector: 'wrist-photo-capture',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['captureMode', 'facing', 'hand', 'view', 'viewLabel'],\n outputs: ['wpcCapture', 'wpcOrientationChange', 'wpcError'],\n})\nexport class WristPhotoCapture {\n protected el: HTMLWristPhotoCaptureElement;\n @Output() wpcCapture = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcCaptureDetail>>();\n @Output() wpcOrientationChange = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcOrientationChangeDetail>>();\n @Output() wpcError = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nimport type { WristPhotoCaptureCustomEvent } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcCaptureDetail as IWristPhotoCaptureWpcCaptureDetail } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcOrientationChangeDetail as IWristPhotoCaptureWpcOrientationChangeDetail } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcErrorDetail as IWristPhotoCaptureWpcErrorDetail } from '@3dlook/wrist-photo-capture/dist/components';\n\nexport declare interface WristPhotoCapture extends Components.WristPhotoCapture {\n /**\n * Fires after a successful `capture()`, with the photo and its metadata.\n */\n wpcCapture: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcCaptureDetail>>;\n /**\n * Fires on every device-orientation update, with the raw tilt angles.\n */\n wpcOrientationChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcOrientationChangeDetail>>;\n /**\n * Fires when camera access, capture, or a method call fails.\n */\n wpcError: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>;\n}\n\n\n","\nimport * as d from './proxies';\n\nexport const DIRECTIVES = [\n d.WristPhotoCapture\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["defineWristPhotoCapture","d.WristPhotoCapture"],"mappings":";;;;;;AAAA;AACA;AAGO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS;AAC/B,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AACtB,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,EAAE;YACrC,GAAG,GAAA;AACD,gBAAA,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC;YACtB,CAAC;AACD,YAAA,GAAG,CAAC,GAAQ,EAAA;AACV,gBAAA,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC;YACvD,CAAC;AACD;;;;;;AAMG;AACH,YAAA,YAAY,EAAE,IAAI;AACnB,SAAA,CAAC;AACJ,IAAA,CAAC,CAAC;AACJ,CAAC;AAEM,MAAM,YAAY,GAAG,CAAC,GAAQ,EAAE,OAAiB,KAAI;AAC1D,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS;AAC/B,IAAA,OAAO,CAAC,OAAO,CAAC,CAAC,UAAU,KAAI;QAC7B,SAAS,CAAC,UAAU,CAAC,GAAG,YAAA;YACtB,MAAM,IAAI,GAAG,SAAS;YACtB,OAAO,IAAI,CAAC,CAAC,CAAC,i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C,MAAM,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;AAC9D,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,EAAE,UAAU,CAAC;AAC5D,iBAAA;oIAGW,UAAU,EAAA,CAAA;sBAAnB;gBACS,oBAAoB,EAAA,CAAA;sBAA7B;gBACS,QAAQ,EAAA,CAAA;sBAAjB;;;ACvBI,MAAM,UAAU,GAAG;AACxB,IAAAC;;;ACJF;;AAEG;;"}
1
+ {"version":3,"file":"3dlook-wrist-photo-capture-angular.mjs","sources":["../../src/directives/angular-component-lib/utils.ts","../../src/directives/proxies.ts","../../src/directives/index.ts","../../src/3dlook-wrist-photo-capture-angular.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\nimport { fromEvent } from 'rxjs';\n\nexport const proxyInputs = (Cmp: any, inputs: string[]) => {\n const Prototype = Cmp.prototype;\n inputs.forEach((item) => {\n Object.defineProperty(Prototype, item, {\n get() {\n return this.el[item];\n },\n set(val: any) {\n this.z.runOutsideAngular(() => (this.el[item] = val));\n },\n /**\n * In the event that proxyInputs is called\n * multiple times re-defining these inputs\n * will cause an error to be thrown. As a result\n * we set configurable: true to indicate these\n * properties can be changed.\n */\n configurable: true,\n });\n });\n};\n\nexport const proxyMethods = (Cmp: any, methods: string[]) => {\n const Prototype = Cmp.prototype;\n methods.forEach((methodName) => {\n Prototype[methodName] = function () {\n const args = arguments;\n return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));\n };\n });\n};\n\nexport const proxyOutputs = (instance: any, el: any, events: string[]) => {\n events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));\n};\n\nexport const defineCustomElement = (tagName: string, customElement: any) => {\n if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {\n customElements.define(tagName, customElement);\n }\n};\n\n// tslint:disable-next-line: only-arrow-functions\nexport function ProxyCmp(opts: { defineCustomElementFn?: () => void; inputs?: any; methods?: any }) {\n const decorator = function (cls: any) {\n const { defineCustomElementFn, inputs, methods } = opts;\n\n if (defineCustomElementFn !== undefined) {\n defineCustomElementFn();\n }\n\n if (inputs) {\n proxyInputs(cls, inputs);\n }\n if (methods) {\n proxyMethods(cls, methods);\n }\n return cls;\n };\n return decorator;\n}\n","/* tslint:disable */\n/* auto-generated angular directive proxies */\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Output, NgZone } from '@angular/core';\n\nimport { ProxyCmp } from './angular-component-lib/utils';\n\nimport type { Components } from '@3dlook/wrist-photo-capture/dist/components';\n\nimport { defineCustomElement as defineWristPhotoCapture } from '@3dlook/wrist-photo-capture/dist/components/wrist-photo-capture.js';\n@ProxyCmp({\n defineCustomElementFn: defineWristPhotoCapture,\n inputs: ['captureMode', 'facing', 'hand', 'view', 'viewLabel'],\n methods: ['start', 'capture', 'switchCamera', 'reset']\n})\n@Component({\n selector: 'wrist-photo-capture',\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content></ng-content>',\n // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property\n inputs: ['captureMode', 'facing', 'hand', 'view', 'viewLabel'],\n outputs: ['wpcCapture', 'wpcOrientationChange', 'wpcError', 'wpcPermissionChange'],\n})\nexport class WristPhotoCapture {\n protected el: HTMLWristPhotoCaptureElement;\n @Output() wpcCapture = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcCaptureDetail>>();\n @Output() wpcOrientationChange = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcOrientationChangeDetail>>();\n @Output() wpcError = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>();\n @Output() wpcPermissionChange = new EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcPermissionChangeDetail>>();\n constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {\n c.detach();\n this.el = r.nativeElement;\n }\n}\n\n\nimport type { WristPhotoCaptureCustomEvent } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcCaptureDetail as IWristPhotoCaptureWpcCaptureDetail } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcOrientationChangeDetail as IWristPhotoCaptureWpcOrientationChangeDetail } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcErrorDetail as IWristPhotoCaptureWpcErrorDetail } from '@3dlook/wrist-photo-capture/dist/components';\nimport type { WpcPermissionChangeDetail as IWristPhotoCaptureWpcPermissionChangeDetail } from '@3dlook/wrist-photo-capture/dist/components';\n\nexport declare interface WristPhotoCapture extends Components.WristPhotoCapture {\n /**\n * Fires after a successful `capture()`, with the photo and its metadata.\n */\n wpcCapture: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcCaptureDetail>>;\n /**\n * Fires on every device-orientation update, with the raw tilt angles.\n */\n wpcOrientationChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcOrientationChangeDetail>>;\n /**\n * Fires when camera access, capture, or a method call fails.\n */\n wpcError: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcErrorDetail>>;\n /**\n * Fires when the camera or motion-sensor permission status changes, with both current statuses.\n */\n wpcPermissionChange: EventEmitter<WristPhotoCaptureCustomEvent<IWristPhotoCaptureWpcPermissionChangeDetail>>;\n}\n\n\n","\nimport * as d from './proxies';\n\nexport const DIRECTIVES = [\n d.WristPhotoCapture\n];\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["defineWristPhotoCapture","d.WristPhotoCapture"],"mappings":";;;;;;AAAA;AACA;AAGO,MAAM,WAAW,GAAG,CAAC,GAAQ,EAAE,MAAgB,KAAI;AACxD,IAAA,MAAM,SAAS,GAAG,GAAG,CAAC,SAAS;AAC/B,IAAA,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AACtB,QAAA,MAAM,CAAC,cAAc,CAAC,SAAS,EA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CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,oVALlB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;AAK1B,iBAAiB,GAAA,UAAA,CAAA;AAb7B,IAAA,QAAQ,CAAC;AACR,QAAA,qBAAqB,EAAEA,qBAAuB;QAC9C,MAAM,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;QAC9D,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO;KACtD;AASY,CAAA,EAAA,iBAAiB,CAU7B;4FAVY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAR7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,qBAAqB;oBAC/B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,QAAQ,EAAE,2BAA2B;;oBAErC,MAAM,EAAE,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;oBAC9D,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,EAAE,UAAU,EAAE,qBAAqB,CAAC;AACnF,iBAAA;oIAGW,UAAU,EAAA,CAAA;sBAAnB;gBACS,oBAAoB,EAAA,CAAA;sBAA7B;gBACS,QAAQ,EAAA,CAAA;sBAAjB;gBACS,mBAAmB,EAAA,CAAA;sBAA5B;;;ACxBI,MAAM,UAAU,GAAG;AACxB,IAAAC;;;ACJF;;AAEG;;"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dlook/wrist-photo-capture-angular",
3
- "version": "0.0.2-dev-20261022102306",
3
+ "version": "0.0.2-dev-20261028132148",
4
4
  "description": "Angular wrapper for the wrist-photo-capture Web Component SDK",
5
5
  "type": "module",
6
6
  "module": "fesm2022/3dlook-wrist-photo-capture-angular.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dlook/wrist-photo-capture-angular",
3
- "version": "0.0.2-dev-20261022102306",
3
+ "version": "0.0.2-dev-20261028132148",
4
4
  "description": "Angular wrapper for the wrist-photo-capture Web Component SDK",
5
5
  "type": "module",
6
6
  "module": "dist/fesm2022/3dlook-wrist-photo-capture-angular.mjs",
@@ -18,7 +18,7 @@
18
18
  "rxjs": "^7.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@3dlook/wrist-photo-capture": "0.0.2-dev-20261022102306",
21
+ "@3dlook/wrist-photo-capture": "0.0.2-dev-20261028132148",
22
22
  "tslib": "^2.8.1"
23
23
  },
24
24
  "devDependencies": {