@freecorps/ember-expo-push 0.4.0 → 0.5.1
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/app.plugin.js +7 -0
- package/package.json +3 -1
package/app.plugin.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// The config plugin's entry for resolvers that look for `app.plugin.js` only, through Node's resolution (so it must
|
|
2
|
+
// be in `exports` too): eas-cli bundles such an @expo/config-plugins, and without this file it loads the package's
|
|
3
|
+
// main entry and refuses it ("does not contain a valid config plugin"). The package is ESM, so this file is too; the
|
|
4
|
+
// plugin itself stays plain CommonJS in app.plugin.cjs, which current Expo CLIs load directly.
|
|
5
|
+
import { createRequire } from "node:module";
|
|
6
|
+
|
|
7
|
+
export default createRequire(import.meta.url)("./app.plugin.cjs");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freecorps/ember-expo-push",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "End-to-end encrypted push for Ember Expo apps: device key, Notification Service Extension (iOS) config plugin, Android decrypt task, pure-JS HPKE.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember",
|
|
@@ -33,11 +33,13 @@
|
|
|
33
33
|
"default": "./dist/index.js"
|
|
34
34
|
},
|
|
35
35
|
"./app.plugin.cjs": "./app.plugin.cjs",
|
|
36
|
+
"./app.plugin.js": "./app.plugin.js",
|
|
36
37
|
"./package.json": "./package.json"
|
|
37
38
|
},
|
|
38
39
|
"files": [
|
|
39
40
|
"dist",
|
|
40
41
|
"app.plugin.cjs",
|
|
42
|
+
"app.plugin.js",
|
|
41
43
|
"ios"
|
|
42
44
|
],
|
|
43
45
|
"engines": {
|