capacitor-sora-editor 0.0.1 → 0.0.2

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,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 SoraEditor = core.registerPlugin('SoraEditor', {
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SoraEditor = registerPlugin('SoraEditor', {\n web: () => import('./web').then(m => new m.SoraEditorWeb()),\n});\nexport * from './definitions';\nexport { SoraEditor };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SoraEditorWeb extends WebPlugin {\n async openEditor(options) {\n console.log('openEditor', options);\n console.warn('SoraEditor is implemented for Android only');\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,IAAI,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;AAC/D,CAAC;;ACFM,MAAM,aAAa,SAASC,cAAS,CAAC;AAC7C,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;AAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;AAC3C,QAAQ,OAAO,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;AACnE,KAAK;AACL;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.cjs.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SoraEditor = registerPlugin('SoraEditor', {\n web: () => import('./web').then(m => new m.SoraEditorWeb()),\n});\nexport * from './definitions';\nexport { SoraEditor };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SoraEditorWeb extends WebPlugin {\n async openEditor(options) {\n console.log('openEditor', options);\n console.warn('SoraEditor is implemented for Android only');\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,IAAI,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;AAC/D,CAAC;;ACFM,MAAM,aAAa,SAASC,cAAS,CAAC;AAC7C,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;AAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC;AAC1C,QAAQ,OAAO,CAAC,IAAI,CAAC,4CAA4C,CAAC;AAClE,IAAI;AACJ;;;;;;;;;"}
package/dist/plugin.js CHANGED
@@ -19,8 +19,6 @@ var capacitorSoraEditor = (function (exports, core) {
19
19
 
20
20
  exports.SoraEditor = SoraEditor;
21
21
 
22
- Object.defineProperty(exports, '__esModule', { value: true });
23
-
24
22
  return exports;
25
23
 
26
24
  })({}, capacitorExports);
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SoraEditor = registerPlugin('SoraEditor', {\n web: () => import('./web').then(m => new m.SoraEditorWeb()),\n});\nexport * from './definitions';\nexport { SoraEditor };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SoraEditorWeb extends WebPlugin {\n async openEditor(options) {\n console.log('openEditor', options);\n console.warn('SoraEditor is implemented for Android only');\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,IAAI,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;IAC/D,CAAC;;ICFM,MAAM,aAAa,SAASC,cAAS,CAAC;IAC7C,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAC3C,QAAQ,OAAO,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IACnE,KAAK;IACL;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"plugin.js","sources":["esm/index.js","esm/web.js"],"sourcesContent":["import { registerPlugin } from '@capacitor/core';\nconst SoraEditor = registerPlugin('SoraEditor', {\n web: () => import('./web').then(m => new m.SoraEditorWeb()),\n});\nexport * from './definitions';\nexport { SoraEditor };\n//# sourceMappingURL=index.js.map","import { WebPlugin } from '@capacitor/core';\nexport class SoraEditorWeb extends WebPlugin {\n async openEditor(options) {\n console.log('openEditor', options);\n console.warn('SoraEditor is implemented for Android only');\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,IAAI,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;IAC/D,CAAC;;ICFM,MAAM,aAAa,SAASC,cAAS,CAAC;IAC7C,IAAI,MAAM,UAAU,CAAC,OAAO,EAAE;IAC9B,QAAQ,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,OAAO,CAAC;IAC1C,QAAQ,OAAO,CAAC,IAAI,CAAC,4CAA4C,CAAC;IAClE,IAAI;IACJ;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-sora-editor",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Capacitor plugin for Sora Editor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -37,7 +37,7 @@
37
37
  "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
38
38
  "swiftlint": "node-swiftlint",
39
39
  "docgen": "docgen --api SoraEditorPlugin --output-readme README.md --output-json dist/docs.json",
40
- "build": "npm run clean && tsc && rollup -c rollup.config.js",
40
+ "build": "npm run clean && tsc && rollup -c rollup.config.mjs",
41
41
  "clean": "rimraf dist",
42
42
  "prepublishOnly": "npm run build"
43
43
  },
@@ -58,7 +58,7 @@
58
58
  "typescript": "^5.9.3"
59
59
  },
60
60
  "peerDependencies": {
61
- "@capacitor/core": "^6.0.0"
61
+ "@capacitor/core": ">=6.0.0"
62
62
  },
63
63
  "prettier": "@ionic/prettier-config",
64
64
  "swiftlint": "@ionic/swiftlint-config",
@@ -73,4 +73,4 @@
73
73
  "src": "ios"
74
74
  }
75
75
  }
76
- }
76
+ }