@apps-in-toss/native-modules 0.0.0-dev.1752049503789
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/README.md +3 -0
- package/dist/bridges-meta.json +110 -0
- package/dist/index.cjs +775 -0
- package/dist/index.d.cts +2352 -0
- package/dist/index.d.ts +2352 -0
- package/dist/index.js +712 -0
- package/package.json +58 -0
- package/src/async-bridges.ts +23 -0
- package/src/constant-bridges.ts +9 -0
- package/src/event-bridges.ts +2 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@apps-in-toss/native-modules",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.0-dev.1752049503789",
|
|
5
|
+
"description": "Native Modules for Apps In Toss",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepack": "yarn build",
|
|
8
|
+
"typecheck": "tsc --noEmit",
|
|
9
|
+
"lint": "eslint .",
|
|
10
|
+
"build": "tsup"
|
|
11
|
+
},
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"require": "./dist/index.cjs",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./async-bridges": "./src/async-bridges.ts",
|
|
22
|
+
"./constant-bridges": "./src/constant-bridges.ts",
|
|
23
|
+
"./event-bridges": "./src/event-bridges.ts",
|
|
24
|
+
"./bridges-meta.json": "./dist/bridges-meta.json",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"src/async-bridges.ts",
|
|
30
|
+
"src/constant-bridges.ts",
|
|
31
|
+
"src/event-bridges.ts"
|
|
32
|
+
],
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@granite-js/native": "0.1.5",
|
|
35
|
+
"@granite-js/react-native": "0.1.5",
|
|
36
|
+
"@types/react": "18.3.3",
|
|
37
|
+
"dts-bundle-generator": "^9.5.1",
|
|
38
|
+
"esbuild": "^0.25.5",
|
|
39
|
+
"picocolors": "^1.1.1",
|
|
40
|
+
"react": "18.2.0",
|
|
41
|
+
"react-native": "0.72.6",
|
|
42
|
+
"tsup": "^8.5.0",
|
|
43
|
+
"typescript": "4.9.5",
|
|
44
|
+
"vitest": "^3.2.4"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"es-toolkit": "^1.39.3"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@granite-js/native": "*",
|
|
51
|
+
"@granite-js/react-native": "*",
|
|
52
|
+
"react-native": "*"
|
|
53
|
+
},
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"gitHead": "8269e1336952bd7229eba87bc82ae1a077ac874a"
|
|
58
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// BedrockModule
|
|
2
|
+
export * from './BedrockModule/native-modules/natives/closeView';
|
|
3
|
+
export * from './BedrockModule/native-modules/natives/generateHapticFeedback';
|
|
4
|
+
export * from './BedrockModule/native-modules/natives/share';
|
|
5
|
+
export * from './BedrockModule/native-modules/natives/setSecureScreen';
|
|
6
|
+
export * from './BedrockModule/native-modules/natives/setScreenAwakeMode';
|
|
7
|
+
export * from './BedrockModule/native-modules/natives/getNetworkStatus';
|
|
8
|
+
export * from './BedrockModule/native-modules/natives/setIosSwipeGestureEnabled';
|
|
9
|
+
export * from './BedrockModule/native-modules/natives/openURL';
|
|
10
|
+
|
|
11
|
+
// AppsInTossModule
|
|
12
|
+
export * from './AppsInTossModule/native-modules/setClipboardText';
|
|
13
|
+
export * from './AppsInTossModule/native-modules/getClipboardText';
|
|
14
|
+
export * from './AppsInTossModule/native-modules/fetchContacts';
|
|
15
|
+
export * from './AppsInTossModule/native-modules/fetchAlbumPhotos';
|
|
16
|
+
export * from './AppsInTossModule/native-modules/getCurrentLocation';
|
|
17
|
+
export * from './AppsInTossModule/native-modules/openCamera';
|
|
18
|
+
export * from './AppsInTossModule/native-modules/appLogin';
|
|
19
|
+
export * from './AppsInTossModule/native-modules/eventLog';
|
|
20
|
+
export * from './AppsInTossModule/native-modules/getTossShareLink';
|
|
21
|
+
export * from './AppsInTossModule/native-modules/setDeviceOrientation';
|
|
22
|
+
export * from './AppsInTossModule/native-modules/checkoutPayment';
|
|
23
|
+
export * from './AppsInTossModule/native-modules/saveBase64Data';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// BedrockModule
|
|
2
|
+
export * from './BedrockModule/native-modules/natives/getLocale';
|
|
3
|
+
export * from './BedrockModule/native-modules/natives/getSchemeUri';
|
|
4
|
+
export * from './BedrockModule/native-modules/natives/getPlatformOS';
|
|
5
|
+
|
|
6
|
+
// AppsInTossModule
|
|
7
|
+
export * from './AppsInTossModule/native-modules/getOperationalEnvironment';
|
|
8
|
+
export * from './AppsInTossModule/native-modules/getTossAppVersion';
|
|
9
|
+
export * from './AppsInTossModule/native-modules/getDeviceId';
|