@apps-in-toss/web-framework 0.0.28 → 0.0.29
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/dist/config/index.d.ts +5 -0
- package/dist/config/index.js +1 -0
- package/dist/prebuilt/dev.android.js +181 -27
- package/dist/prebuilt/dev.ios.js +181 -27
- package/dist/prebuilt/prod.android.js +147 -5
- package/dist/prebuilt/prod.ios.js +147 -5
- package/dist/prebuilt/prod.json +4 -4
- package/package.json +8 -8
package/dist/config/index.d.ts
CHANGED
|
@@ -73,6 +73,11 @@ interface AppsInTossWebConfig extends AppsInTossPluginOptions {
|
|
|
73
73
|
* to tap them before they start playing. The default value is `true`.
|
|
74
74
|
*/
|
|
75
75
|
mediaPlaybackRequiresUserAction?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#allowsbackforwardnavigationgestures
|
|
78
|
+
* this will be able horizontal swipe gestures. The default value is `true`.
|
|
79
|
+
*/
|
|
80
|
+
allowsBackForwardNavigationGestures?: boolean;
|
|
76
81
|
};
|
|
77
82
|
/**
|
|
78
83
|
* @default 'dist'
|
package/dist/config/index.js
CHANGED
|
@@ -87493,7 +87493,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
87493
87493
|
var _default = exports.default = TurboModuleRegistry.get('LinkingManager');
|
|
87494
87494
|
},412,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js");
|
|
87495
87495
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
87496
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
87496
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
87497
87497
|
"__packager_asset": true,
|
|
87498
87498
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
87499
87499
|
"width": 28,
|
|
@@ -89172,7 +89172,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89172
89172
|
var _default = exports.default = NativeStatusBarManager;
|
|
89173
89173
|
},429,[34],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js");
|
|
89174
89174
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89175
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89175
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89176
89176
|
"__packager_asset": true,
|
|
89177
89177
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89178
89178
|
"width": 16,
|
|
@@ -89184,7 +89184,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89184
89184
|
});
|
|
89185
89185
|
},430,[414],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/chevron-left.png");
|
|
89186
89186
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89187
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89187
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89188
89188
|
"__packager_asset": true,
|
|
89189
89189
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89190
89190
|
"width": 16,
|
|
@@ -89818,7 +89818,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89818
89818
|
var _default = exports.default = LogBoxInspectorSourceMapStatus;
|
|
89819
89819
|
},435,[315,274,243,379,407,408,8,49,436,437],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js");
|
|
89820
89820
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89821
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89821
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89822
89822
|
"__packager_asset": true,
|
|
89823
89823
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89824
89824
|
"width": 48,
|
|
@@ -89830,7 +89830,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
89830
89830
|
});
|
|
89831
89831
|
},436,[414],"../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png");
|
|
89832
89832
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
89833
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
89833
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
89834
89834
|
"__packager_asset": true,
|
|
89835
89835
|
"httpServerLocation": "/assets/../../../.yarn/unplugged/react-native-virtual-b5f6484574/node_modules/react-native/Libraries/LogBox/UI/LogBoxImages",
|
|
89836
89836
|
"width": 44,
|
|
@@ -108470,7 +108470,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108470
108470
|
}
|
|
108471
108471
|
},650,[511,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
108472
108472
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108473
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108473
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108474
108474
|
"__packager_asset": true,
|
|
108475
108475
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108476
108476
|
"width": 24,
|
|
@@ -108482,7 +108482,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
108482
108482
|
});
|
|
108483
108483
|
},651,[414],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
108484
108484
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
108485
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
108485
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
108486
108486
|
"__packager_asset": true,
|
|
108487
108487
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-a2d7be669a/0/cache/@react-navigation-elements-npm-1.3.31-e09b25e3e4-4a2e6ee67d.zip/node_modules/@react-navigation/elements/src/assets",
|
|
108488
108488
|
"width": 50,
|
|
@@ -154731,6 +154731,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154731
154731
|
GoogleAdMob: function GoogleAdMob() {
|
|
154732
154732
|
return _GoogleAdMob;
|
|
154733
154733
|
},
|
|
154734
|
+
IAP: function IAP() {
|
|
154735
|
+
return _IAP;
|
|
154736
|
+
},
|
|
154737
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: function INTERNAL__onVisibilityChangedByTransparentServiceWeb() {
|
|
154738
|
+
return _INTERNAL__onVisibilityChangedByTransparentServiceWeb;
|
|
154739
|
+
},
|
|
154734
154740
|
Storage: function Storage() {
|
|
154735
154741
|
return _Storage;
|
|
154736
154742
|
},
|
|
@@ -154782,6 +154788,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154782
154788
|
openCamera: function openCamera() {
|
|
154783
154789
|
return _openCamera;
|
|
154784
154790
|
},
|
|
154791
|
+
saveBase64Data: function saveBase64Data() {
|
|
154792
|
+
return _saveBase64Data;
|
|
154793
|
+
},
|
|
154785
154794
|
setClipboardText: function setClipboardText() {
|
|
154786
154795
|
return _setClipboardText;
|
|
154787
154796
|
},
|
|
@@ -154799,7 +154808,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154799
154808
|
var import_analytics2 = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154800
154809
|
var import_analytics = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154801
154810
|
var import_react_native6 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154802
|
-
var
|
|
154811
|
+
var import_react_native_bedrock8 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154803
154812
|
var import_react2 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154804
154813
|
var import_react_native_bedrock2 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154805
154814
|
var _env = {
|
|
@@ -154989,7 +154998,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154989
154998
|
};
|
|
154990
154999
|
var import_react_native5 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154991
155000
|
var import_react3 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154992
|
-
var
|
|
155001
|
+
var import_react_native_bedrock7 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154993
155002
|
var import_react_native_bedrock3 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154994
155003
|
var EntryMessageExitedEvent = function (_import_react_native_) {
|
|
154995
155004
|
function EntryMessageExitedEvent() {
|
|
@@ -155196,7 +155205,50 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155196
155205
|
}
|
|
155197
155206
|
}]);
|
|
155198
155207
|
}(import_react_native_bedrock5.BedrockEventDefinition);
|
|
155199
|
-
var
|
|
155208
|
+
var import_react_native_bedrock6 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155209
|
+
var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native_4) {
|
|
155210
|
+
function VisibilityChangedByTransparentServiceWebEvent() {
|
|
155211
|
+
var _this5;
|
|
155212
|
+
_classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
|
|
155213
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
155214
|
+
args[_key4] = arguments[_key4];
|
|
155215
|
+
}
|
|
155216
|
+
_this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
|
|
155217
|
+
_this5.name = "onVisibilityChangedByTransparentServiceWeb";
|
|
155218
|
+
_this5.subscription = null;
|
|
155219
|
+
return _this5;
|
|
155220
|
+
}
|
|
155221
|
+
_inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native_4);
|
|
155222
|
+
return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
|
|
155223
|
+
key: "remove",
|
|
155224
|
+
value: function remove() {
|
|
155225
|
+
var _this$subscription;
|
|
155226
|
+
(_this$subscription = this.subscription) === null || _this$subscription === void 0 || _this$subscription.remove();
|
|
155227
|
+
this.subscription = null;
|
|
155228
|
+
}
|
|
155229
|
+
}, {
|
|
155230
|
+
key: "listener",
|
|
155231
|
+
value: function listener(options, onEvent, onError) {
|
|
155232
|
+
var _this6 = this;
|
|
155233
|
+
var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
|
|
155234
|
+
if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
|
|
155235
|
+
if (params.callbackId === options.callbackId) {
|
|
155236
|
+
onEvent(params.isVisible);
|
|
155237
|
+
}
|
|
155238
|
+
} else {
|
|
155239
|
+
onError(new Error("Invalid visibility changed by transparent service web result"));
|
|
155240
|
+
}
|
|
155241
|
+
});
|
|
155242
|
+
this.subscription = subscription;
|
|
155243
|
+
}
|
|
155244
|
+
}, {
|
|
155245
|
+
key: "isVisibilityChangedByTransparentServiceWebResult",
|
|
155246
|
+
value: function isVisibilityChangedByTransparentServiceWebResult(params) {
|
|
155247
|
+
return _typeof(params) === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
|
|
155248
|
+
}
|
|
155249
|
+
}]);
|
|
155250
|
+
}(import_react_native_bedrock6.BedrockEventDefinition);
|
|
155251
|
+
var _appsInTossEvent = new import_react_native_bedrock7.BedrockEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
|
|
155200
155252
|
function getAppsInTossGlobals() {
|
|
155201
155253
|
if (global.__appsInToss == null) {
|
|
155202
155254
|
throw new Error("invalid apps-in-toss globals");
|
|
@@ -155258,6 +155310,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155258
155310
|
openCamera: function openCamera() {
|
|
155259
155311
|
return _openCamera;
|
|
155260
155312
|
},
|
|
155313
|
+
saveBase64Data: function saveBase64Data() {
|
|
155314
|
+
return _saveBase64Data;
|
|
155315
|
+
},
|
|
155261
155316
|
setClipboardText: function setClipboardText() {
|
|
155262
155317
|
return _setClipboardText;
|
|
155263
155318
|
},
|
|
@@ -155633,6 +155688,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155633
155688
|
}));
|
|
155634
155689
|
return _setDeviceOrientation2.apply(this, arguments);
|
|
155635
155690
|
}
|
|
155691
|
+
function _saveBase64Data(_x11) {
|
|
155692
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155693
|
+
}
|
|
155694
|
+
function _saveBase64Data2() {
|
|
155695
|
+
_saveBase64Data2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee16(params) {
|
|
155696
|
+
var isSupported;
|
|
155697
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
155698
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
155699
|
+
case 0:
|
|
155700
|
+
isSupported = _isMinVersionSupported({
|
|
155701
|
+
android: "5.218.0",
|
|
155702
|
+
ios: "5.216.0"
|
|
155703
|
+
});
|
|
155704
|
+
if (isSupported) {
|
|
155705
|
+
_context16.next = 4;
|
|
155706
|
+
break;
|
|
155707
|
+
}
|
|
155708
|
+
console.warn("saveBase64Data is not supported in this app version");
|
|
155709
|
+
return _context16.abrupt("return");
|
|
155710
|
+
case 4:
|
|
155711
|
+
_context16.next = 6;
|
|
155712
|
+
return AppsInTossModule.saveBase64Data(params);
|
|
155713
|
+
case 6:
|
|
155714
|
+
case "end":
|
|
155715
|
+
return _context16.stop();
|
|
155716
|
+
}
|
|
155717
|
+
}, _callee16);
|
|
155718
|
+
}));
|
|
155719
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155720
|
+
}
|
|
155636
155721
|
var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[5], "react/jsx-runtime");
|
|
155637
155722
|
function AppsInTossContainer(Container, _ref7) {
|
|
155638
155723
|
var children = _ref7.children,
|
|
@@ -155670,7 +155755,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155670
155755
|
},
|
|
155671
155756
|
debug: (_analytics$debug = analytics === null || analytics === void 0 ? void 0 : analytics.debug) !== null && _analytics$debug !== void 0 ? _analytics$debug : __DEV__
|
|
155672
155757
|
});
|
|
155673
|
-
return
|
|
155758
|
+
return import_react_native_bedrock8.Bedrock.registerApp(AppsInTossContainer.bind(null, container), {
|
|
155674
155759
|
appName: getAppName(),
|
|
155675
155760
|
context: context,
|
|
155676
155761
|
router: {
|
|
@@ -155832,7 +155917,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155832
155917
|
function createIsSupported() {
|
|
155833
155918
|
return function () {
|
|
155834
155919
|
if (ENVIRONMENT !== "toss") {
|
|
155835
|
-
console.warn("Google AdMob is not supported in the current environment");
|
|
155836
155920
|
return false;
|
|
155837
155921
|
}
|
|
155838
155922
|
return _isMinVersionSupported({
|
|
@@ -155876,6 +155960,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155876
155960
|
removeItem: removeItem,
|
|
155877
155961
|
clearItems: clearItems
|
|
155878
155962
|
};
|
|
155963
|
+
function createOneTimePurchaseOrder(_x12) {
|
|
155964
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155965
|
+
}
|
|
155966
|
+
function _createOneTimePurchaseOrder() {
|
|
155967
|
+
_createOneTimePurchaseOrder = _asyncToGenerator(_regeneratorRuntime().mark(function _callee17(params) {
|
|
155968
|
+
var isSupported;
|
|
155969
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
155970
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
155971
|
+
case 0:
|
|
155972
|
+
isSupported = _isMinVersionSupported({
|
|
155973
|
+
android: "5.219.0",
|
|
155974
|
+
ios: "5.219.0"
|
|
155975
|
+
});
|
|
155976
|
+
if (isSupported) {
|
|
155977
|
+
_context17.next = 3;
|
|
155978
|
+
break;
|
|
155979
|
+
}
|
|
155980
|
+
return _context17.abrupt("return");
|
|
155981
|
+
case 3:
|
|
155982
|
+
return _context17.abrupt("return", AppsInTossModule.iapCreateOneTimePurchaseOrder(params));
|
|
155983
|
+
case 4:
|
|
155984
|
+
case "end":
|
|
155985
|
+
return _context17.stop();
|
|
155986
|
+
}
|
|
155987
|
+
}, _callee17);
|
|
155988
|
+
}));
|
|
155989
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155990
|
+
}
|
|
155991
|
+
function getProductItemList() {
|
|
155992
|
+
return _getProductItemList.apply(this, arguments);
|
|
155993
|
+
}
|
|
155994
|
+
function _getProductItemList() {
|
|
155995
|
+
_getProductItemList = _asyncToGenerator(_regeneratorRuntime().mark(function _callee18() {
|
|
155996
|
+
var isSupported;
|
|
155997
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
155998
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
155999
|
+
case 0:
|
|
156000
|
+
isSupported = _isMinVersionSupported({
|
|
156001
|
+
android: "5.219.0",
|
|
156002
|
+
ios: "5.219.0"
|
|
156003
|
+
});
|
|
156004
|
+
if (isSupported) {
|
|
156005
|
+
_context18.next = 3;
|
|
156006
|
+
break;
|
|
156007
|
+
}
|
|
156008
|
+
return _context18.abrupt("return");
|
|
156009
|
+
case 3:
|
|
156010
|
+
return _context18.abrupt("return", AppsInTossModule.iapGetProductItemList({}));
|
|
156011
|
+
case 4:
|
|
156012
|
+
case "end":
|
|
156013
|
+
return _context18.stop();
|
|
156014
|
+
}
|
|
156015
|
+
}, _callee18);
|
|
156016
|
+
}));
|
|
156017
|
+
return _getProductItemList.apply(this, arguments);
|
|
156018
|
+
}
|
|
156019
|
+
var _IAP = {
|
|
156020
|
+
createOneTimePurchaseOrder: createOneTimePurchaseOrder,
|
|
156021
|
+
getProductItemList: getProductItemList
|
|
156022
|
+
};
|
|
155879
156023
|
var _TossPay = {
|
|
155880
156024
|
checkoutPayment: _checkoutPayment
|
|
155881
156025
|
};
|
|
@@ -155888,7 +156032,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155888
156032
|
var import_react_native14 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155889
156033
|
var import_private = _$$_REQUIRE(_dependencyMap[6], "@toss-design-system/react-native/private");
|
|
155890
156034
|
var import_react6 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155891
|
-
var
|
|
156035
|
+
var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155892
156036
|
var bedrockAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[7], "react-native-bedrock/async-bridges"), 1);
|
|
155893
156037
|
var bedrockConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[8], "react-native-bedrock/constant-bridges"), 1);
|
|
155894
156038
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[9], "@react-native-bedrock/native/react-native-webview");
|
|
@@ -155896,7 +156040,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155896
156040
|
var import_es_hangul = _$$_REQUIRE(_dependencyMap[10], "es-hangul");
|
|
155897
156041
|
var import_react4 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155898
156042
|
var import_react_native13 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
155899
|
-
var
|
|
156043
|
+
var import_react_native_bedrock9 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155900
156044
|
var import_react_native_svg = _$$_REQUIRE(_dependencyMap[11], "@react-native-bedrock/native/react-native-svg");
|
|
155901
156045
|
var import_react_native10 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155902
156046
|
var import_react_native11 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
@@ -156017,7 +156161,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156017
156161
|
case 2:
|
|
156018
156162
|
isConfirmed = _context.sent;
|
|
156019
156163
|
if (isConfirmed) {
|
|
156020
|
-
(0,
|
|
156164
|
+
(0, import_react_native_bedrock9.closeView)();
|
|
156021
156165
|
}
|
|
156022
156166
|
case 4:
|
|
156023
156167
|
case "end":
|
|
@@ -156027,11 +156171,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156027
156171
|
})), [brandDisplayName, openConfirm]);
|
|
156028
156172
|
(0, import_react4.useEffect)(function () {
|
|
156029
156173
|
if (import_react_native13.Platform.OS === "ios") {
|
|
156030
|
-
(0,
|
|
156174
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
156031
156175
|
isEnabled: false
|
|
156032
156176
|
});
|
|
156033
156177
|
return function () {
|
|
156034
|
-
(0,
|
|
156178
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
156035
156179
|
isEnabled: true
|
|
156036
156180
|
});
|
|
156037
156181
|
};
|
|
@@ -156194,7 +156338,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156194
156338
|
}
|
|
156195
156339
|
}, _callee3);
|
|
156196
156340
|
}));
|
|
156197
|
-
return function (
|
|
156341
|
+
return function (_x13) {
|
|
156198
156342
|
return _ref19.apply(this, arguments);
|
|
156199
156343
|
};
|
|
156200
156344
|
}(), [onMessage]);
|
|
@@ -156222,7 +156366,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156222
156366
|
return _startUpdateLocation;
|
|
156223
156367
|
}
|
|
156224
156368
|
});
|
|
156225
|
-
var
|
|
156369
|
+
var import_react_native_bedrock10 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156226
156370
|
var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
|
|
156227
156371
|
var timestampHex = uuid.split("-").join("").slice(0, 12);
|
|
156228
156372
|
var timestamp = Number.parseInt(timestampHex, 16);
|
|
@@ -156244,7 +156388,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156244
156388
|
};
|
|
156245
156389
|
var getReferrer = function getReferrer() {
|
|
156246
156390
|
try {
|
|
156247
|
-
var referrer = new URL((0,
|
|
156391
|
+
var referrer = new URL((0, import_react_native_bedrock10.getSchemeUri)());
|
|
156248
156392
|
return referrer.searchParams.get("referrer");
|
|
156249
156393
|
} catch (_unused4) {
|
|
156250
156394
|
return "";
|
|
@@ -156277,7 +156421,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156277
156421
|
};
|
|
156278
156422
|
function mergeSchemeQueryParamsInto(url) {
|
|
156279
156423
|
var baseUrl = new URL(url);
|
|
156280
|
-
var schemeUrl = new URL((0,
|
|
156424
|
+
var schemeUrl = new URL((0, import_react_native_bedrock11.getSchemeUri)());
|
|
156281
156425
|
baseUrl.pathname = schemeUrl.pathname;
|
|
156282
156426
|
var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
|
|
156283
156427
|
_step2;
|
|
@@ -156317,7 +156461,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156317
156461
|
if (!TYPES.includes(type)) {
|
|
156318
156462
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
156319
156463
|
}
|
|
156320
|
-
var bedrockEvent = (0,
|
|
156464
|
+
var bedrockEvent = (0, import_react_native_bedrock11.useBedrockEvent)();
|
|
156321
156465
|
var uri = (0, import_react6.useMemo)(function () {
|
|
156322
156466
|
return getWebViewUri(local);
|
|
156323
156467
|
}, [local]);
|
|
@@ -156387,7 +156531,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156387
156531
|
getStorageItem: _Storage.getItem,
|
|
156388
156532
|
setStorageItem: _Storage.setItem,
|
|
156389
156533
|
removeStorageItem: _Storage.removeItem,
|
|
156390
|
-
clearItems: _Storage.clearItems
|
|
156534
|
+
clearItems: _Storage.clearItems,
|
|
156535
|
+
iapCreateOneTimePurchaseOrder: _IAP.createOneTimePurchaseOrder,
|
|
156536
|
+
iapGetProductItemList: _IAP.getProductItemList
|
|
156391
156537
|
})
|
|
156392
156538
|
});
|
|
156393
156539
|
var baseProps = (0, import_react6.useMemo)(function () {
|
|
@@ -156448,12 +156594,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156448
156594
|
return value;
|
|
156449
156595
|
}
|
|
156450
156596
|
var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
156451
|
-
var
|
|
156597
|
+
var import_react_native_bedrock12 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156452
156598
|
function _useGeolocation(_ref25) {
|
|
156453
156599
|
var accuracy = _ref25.accuracy,
|
|
156454
156600
|
distanceInterval = _ref25.distanceInterval,
|
|
156455
156601
|
timeInterval = _ref25.timeInterval;
|
|
156456
|
-
var isVisible = (0,
|
|
156602
|
+
var isVisible = (0, import_react_native_bedrock12.useVisibility)();
|
|
156457
156603
|
var _ref26 = (0, import_react7.useState)(null),
|
|
156458
156604
|
_ref27 = _slicedToArray(_ref26, 2),
|
|
156459
156605
|
location = _ref27[0],
|
|
@@ -156483,6 +156629,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156483
156629
|
Accuracy3[Accuracy3["BestForNavigation"] = 6] = "BestForNavigation";
|
|
156484
156630
|
return Accuracy3;
|
|
156485
156631
|
}(Accuracy2 || {});
|
|
156632
|
+
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
156633
|
+
return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
|
|
156634
|
+
}
|
|
156635
|
+
var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = onVisibilityChangedByTransparentServiceWeb;
|
|
156486
156636
|
__reExport(src_exports, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics"), module.exports);
|
|
156487
156637
|
var Analytics2 = {
|
|
156488
156638
|
init: import_analytics2.Analytics.init,
|
|
@@ -156495,6 +156645,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156495
156645
|
Analytics: Analytics,
|
|
156496
156646
|
AppsInToss: _AppsInToss,
|
|
156497
156647
|
GoogleAdMob: _GoogleAdMob,
|
|
156648
|
+
IAP: _IAP,
|
|
156649
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: _INTERNAL__onVisibilityChangedByTransparentServiceWeb,
|
|
156498
156650
|
Storage: _Storage,
|
|
156499
156651
|
TossPay: _TossPay,
|
|
156500
156652
|
WebView: _WebView,
|
|
@@ -156512,6 +156664,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156512
156664
|
getTossShareLink: _getTossShareLink,
|
|
156513
156665
|
isMinVersionSupported: _isMinVersionSupported,
|
|
156514
156666
|
openCamera: _openCamera,
|
|
156667
|
+
saveBase64Data: _saveBase64Data,
|
|
156515
156668
|
setClipboardText: _setClipboardText,
|
|
156516
156669
|
setDeviceOrientation: _setDeviceOrientation,
|
|
156517
156670
|
startUpdateLocation: _startUpdateLocation,
|
|
@@ -224316,7 +224469,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224316
224469
|
}
|
|
224317
224470
|
},2204,[511,8,11,49],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/PlatformPressable.tsx");
|
|
224318
224471
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224319
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224472
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
224320
224473
|
"__packager_asset": true,
|
|
224321
224474
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
|
|
224322
224475
|
"width": 24,
|
|
@@ -224328,7 +224481,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224328
224481
|
});
|
|
224329
224482
|
},2205,[414],"../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets/back-icon.png");
|
|
224330
224483
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224331
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
224484
|
+
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/line0/Dev/frontend-bedrock/.yarn/cache/@react-native-bedrock-mpack-next-npm-0.0.25-382cd22a0f-6b37accd87.zip/node_modules/@react-native-bedrock/mpack-next/dist/metro/bedrockAssetRegistry.js").registerAsset({
|
|
224332
224485
|
"__packager_asset": true,
|
|
224333
224486
|
"httpServerLocation": "/assets/../../../.yarn/__virtual__/@react-navigation-elements-virtual-e6a9838d2a/0/cache/@react-navigation-elements-npm-1.3.9-f0da2fec1d-0c791f1043.zip/node_modules/@react-navigation/elements/src/assets",
|
|
224334
224487
|
"width": 50,
|
|
@@ -229152,6 +229305,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
229152
229305
|
port: Ait.webPort,
|
|
229153
229306
|
host: Ait.webHost
|
|
229154
229307
|
},
|
|
229308
|
+
allowsBackForwardNavigationGestures: Ait.allowsBackForwardNavigationGestures,
|
|
229155
229309
|
mediaPlaybackRequiresUserAction: Ait.mediaPlaybackRequiresUserAction,
|
|
229156
229310
|
allowsInlineMediaPlayback: Ait.allowsInlineMediaPlayback,
|
|
229157
229311
|
bounces: Ait.bounces,
|