superapp-miniapp-invoke-native 1.0.2 → 1.0.4
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/lib/main.d.ts +1 -0
- package/lib/main.js +11 -0
- package/lib/main.umd.cjs +1 -0
- package/package.json +8 -8
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -6
- package/lib/index.umd.cjs +0 -1
package/lib/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'superapp-miniapp-invoke-native';
|
package/lib/main.js
ADDED
package/lib/main.umd.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.main={}))})(this,function(e){"use strict";const i=Object.freeze(Object.defineProperty({__proto__:null,default:{init(n){console.log("initNative",n)}}},Symbol.toStringTag,{value:"Module"}));e.NativeApi=i,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superapp-miniapp-invoke-native",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"description": "Superapp中,小程序调用Native 接口的封装,如OSP项目中,需要调用Native的相机扫描,镭射扫描,获取RBAC的数据等",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"lib"
|
|
18
18
|
],
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"types": "./lib/
|
|
19
|
+
"module": "./lib/main.js",
|
|
20
|
+
"main": "./lib/main.umd.cjs",
|
|
21
|
+
"types": "./lib/main.d.ts",
|
|
22
22
|
"exports": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
23
|
+
"import": "./lib/main.js",
|
|
24
|
+
"require": "./lib/main.umd.cjs",
|
|
25
|
+
"types": "./lib/main.d.ts"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^20.8.10",
|
|
29
|
-
"superapp-miniapp-invoke-native": "^1.0.
|
|
29
|
+
"superapp-miniapp-invoke-native": "^1.0.2",
|
|
30
30
|
"typescript": "^5.2.2",
|
|
31
31
|
"vite": "^4.5.0",
|
|
32
32
|
"vite-plugin-dts": "^3.6.3"
|
package/lib/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'lodash-es';
|
package/lib/index.js
DELETED
package/lib/index.umd.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(n){typeof define=="function"&&define.amd?define(n):n()})(function(){"use strict";({initHandle(){console.log("init")}}).initHandle()});
|