@apps-in-toss/web-framework 1.4.7 → 1.4.9
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/prebuilt/dev.android.js +298 -224
- package/dist/prebuilt/dev.ios.js +296 -222
- package/dist/prebuilt/prod.android.js +52 -1
- package/dist/prebuilt/prod.ios.js +52 -1
- package/package.json +8 -8
- package/dist/cli/chunk-AZQN2M6D.js +0 -63
- package/dist/cli/chunk-PT6B3KQJ.js +0 -209904
- package/dist/cli/lib-GNFDOQZX.js +0 -1007
- package/dist/cli/typescript-WPGJO2BO.js +0 -6
- package/dist/prebuilt/prod.json +0 -14
|
@@ -44032,7 +44032,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44032
44032
|
});
|
|
44033
44033
|
|
|
44034
44034
|
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/constants.ts
|
|
44035
|
-
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION;
|
|
44035
|
+
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION;
|
|
44036
44036
|
var init_constants13 = __esm({
|
|
44037
44037
|
"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/constants.ts"() {
|
|
44038
44038
|
"use strict";
|
|
@@ -44048,6 +44048,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44048
44048
|
android: "5.232.0",
|
|
44049
44049
|
ios: "5.232.0"
|
|
44050
44050
|
};
|
|
44051
|
+
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
44052
|
+
android: "5.237.0",
|
|
44053
|
+
ios: "5.237.0"
|
|
44054
|
+
};
|
|
44051
44055
|
}
|
|
44052
44056
|
});
|
|
44053
44057
|
|
|
@@ -44228,6 +44232,48 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44228
44232
|
}
|
|
44229
44233
|
});
|
|
44230
44234
|
|
|
44235
|
+
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getIsTossLoginIntegratedService.ts
|
|
44236
|
+
function getIsTossLoginIntegratedService() {
|
|
44237
|
+
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
44238
|
+
}
|
|
44239
|
+
function _getIsTossLoginIntegratedService() {
|
|
44240
|
+
_getIsTossLoginIntegratedService = _async_to_generator(function() {
|
|
44241
|
+
var isSupported, response;
|
|
44242
|
+
return __generator(this, function(_state) {
|
|
44243
|
+
switch (_state.label) {
|
|
44244
|
+
case 0:
|
|
44245
|
+
isSupported = isMinVersionSupported2(GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION);
|
|
44246
|
+
if (!isSupported) {
|
|
44247
|
+
return [
|
|
44248
|
+
2
|
|
44249
|
+
];
|
|
44250
|
+
}
|
|
44251
|
+
return [
|
|
44252
|
+
4,
|
|
44253
|
+
AppsInTossModule2.getIsTossLoginIntegratedService({})
|
|
44254
|
+
];
|
|
44255
|
+
case 1:
|
|
44256
|
+
response = _state.sent();
|
|
44257
|
+
return [
|
|
44258
|
+
2,
|
|
44259
|
+
response
|
|
44260
|
+
];
|
|
44261
|
+
}
|
|
44262
|
+
});
|
|
44263
|
+
});
|
|
44264
|
+
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
44265
|
+
}
|
|
44266
|
+
var init_getIsTossLoginIntegratedService = __esm({
|
|
44267
|
+
"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getIsTossLoginIntegratedService.ts"() {
|
|
44268
|
+
"use strict";
|
|
44269
|
+
init_async_to_generator();
|
|
44270
|
+
init_ts_generator();
|
|
44271
|
+
init_AppsInTossModule();
|
|
44272
|
+
init_isMinVersionSupported();
|
|
44273
|
+
init_constants13();
|
|
44274
|
+
}
|
|
44275
|
+
});
|
|
44276
|
+
|
|
44231
44277
|
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/grantPromotionRewardForGame.ts
|
|
44232
44278
|
function isGrantPromotionRewardForGameError(error) {
|
|
44233
44279
|
return (typeof error === "undefined" ? "undefined" : _type_of(error)) === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
|
|
@@ -44346,6 +44392,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44346
44392
|
getGameCenterGameProfile: function() {
|
|
44347
44393
|
return getGameCenterGameProfile2;
|
|
44348
44394
|
},
|
|
44395
|
+
getIsTossLoginIntegratedService: function() {
|
|
44396
|
+
return getIsTossLoginIntegratedService;
|
|
44397
|
+
},
|
|
44349
44398
|
getNetworkStatus: function() {
|
|
44350
44399
|
return getNetworkStatus;
|
|
44351
44400
|
},
|
|
@@ -44432,6 +44481,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44432
44481
|
init_openGameCenterLeaderboard();
|
|
44433
44482
|
init_submitGameCenterLeaderBoardScore();
|
|
44434
44483
|
init_getUserKeyForGame();
|
|
44484
|
+
init_getIsTossLoginIntegratedService();
|
|
44435
44485
|
init_grantPromotionRewardForGame();
|
|
44436
44486
|
}
|
|
44437
44487
|
});
|
|
@@ -45270,6 +45320,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45270
45320
|
init_submitGameCenterLeaderBoardScore();
|
|
45271
45321
|
init_getUserKeyForGame();
|
|
45272
45322
|
init_grantPromotionRewardForGame();
|
|
45323
|
+
init_getIsTossLoginIntegratedService();
|
|
45273
45324
|
init_contactsViral();
|
|
45274
45325
|
init_appsInTossSignTossCert();
|
|
45275
45326
|
}
|
|
@@ -44041,7 +44041,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44041
44041
|
});
|
|
44042
44042
|
|
|
44043
44043
|
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/constants.ts
|
|
44044
|
-
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION;
|
|
44044
|
+
var GAME_CENTER_MIN_VERSION2, GAME_USER_KEY_MIN_VERSION, GAME_PROMOTION_REWARD_MIN_VERSION, GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION;
|
|
44045
44045
|
var init_constants13 = __esm({
|
|
44046
44046
|
"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/constants.ts"() {
|
|
44047
44047
|
"use strict";
|
|
@@ -44057,6 +44057,10 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44057
44057
|
android: "5.232.0",
|
|
44058
44058
|
ios: "5.232.0"
|
|
44059
44059
|
};
|
|
44060
|
+
GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION = {
|
|
44061
|
+
android: "5.237.0",
|
|
44062
|
+
ios: "5.237.0"
|
|
44063
|
+
};
|
|
44060
44064
|
}
|
|
44061
44065
|
});
|
|
44062
44066
|
|
|
@@ -44237,6 +44241,48 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44237
44241
|
}
|
|
44238
44242
|
});
|
|
44239
44243
|
|
|
44244
|
+
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getIsTossLoginIntegratedService.ts
|
|
44245
|
+
function getIsTossLoginIntegratedService() {
|
|
44246
|
+
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
44247
|
+
}
|
|
44248
|
+
function _getIsTossLoginIntegratedService() {
|
|
44249
|
+
_getIsTossLoginIntegratedService = _async_to_generator(function() {
|
|
44250
|
+
var isSupported, response;
|
|
44251
|
+
return __generator(this, function(_state) {
|
|
44252
|
+
switch (_state.label) {
|
|
44253
|
+
case 0:
|
|
44254
|
+
isSupported = isMinVersionSupported2(GET_IS_TOSS_LOGIN_INTEGRATED_SERVICE_MIN_VERSION);
|
|
44255
|
+
if (!isSupported) {
|
|
44256
|
+
return [
|
|
44257
|
+
2
|
|
44258
|
+
];
|
|
44259
|
+
}
|
|
44260
|
+
return [
|
|
44261
|
+
4,
|
|
44262
|
+
AppsInTossModule2.getIsTossLoginIntegratedService({})
|
|
44263
|
+
];
|
|
44264
|
+
case 1:
|
|
44265
|
+
response = _state.sent();
|
|
44266
|
+
return [
|
|
44267
|
+
2,
|
|
44268
|
+
response
|
|
44269
|
+
];
|
|
44270
|
+
}
|
|
44271
|
+
});
|
|
44272
|
+
});
|
|
44273
|
+
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
44274
|
+
}
|
|
44275
|
+
var init_getIsTossLoginIntegratedService = __esm({
|
|
44276
|
+
"../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/getIsTossLoginIntegratedService.ts"() {
|
|
44277
|
+
"use strict";
|
|
44278
|
+
init_async_to_generator();
|
|
44279
|
+
init_ts_generator();
|
|
44280
|
+
init_AppsInTossModule();
|
|
44281
|
+
init_isMinVersionSupported();
|
|
44282
|
+
init_constants13();
|
|
44283
|
+
}
|
|
44284
|
+
});
|
|
44285
|
+
|
|
44240
44286
|
// ../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-86e9653158/1/apps-in-toss-packages/native-modules/src/AppsInTossModule/native-modules/grantPromotionRewardForGame.ts
|
|
44241
44287
|
function isGrantPromotionRewardForGameError(error) {
|
|
44242
44288
|
return (typeof error === "undefined" ? "undefined" : _type_of(error)) === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
|
|
@@ -44355,6 +44401,9 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44355
44401
|
getGameCenterGameProfile: function() {
|
|
44356
44402
|
return getGameCenterGameProfile2;
|
|
44357
44403
|
},
|
|
44404
|
+
getIsTossLoginIntegratedService: function() {
|
|
44405
|
+
return getIsTossLoginIntegratedService;
|
|
44406
|
+
},
|
|
44358
44407
|
getNetworkStatus: function() {
|
|
44359
44408
|
return getNetworkStatus;
|
|
44360
44409
|
},
|
|
@@ -44441,6 +44490,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
44441
44490
|
init_openGameCenterLeaderboard();
|
|
44442
44491
|
init_submitGameCenterLeaderBoardScore();
|
|
44443
44492
|
init_getUserKeyForGame();
|
|
44493
|
+
init_getIsTossLoginIntegratedService();
|
|
44444
44494
|
init_grantPromotionRewardForGame();
|
|
44445
44495
|
}
|
|
44446
44496
|
});
|
|
@@ -45279,6 +45329,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
|
|
|
45279
45329
|
init_submitGameCenterLeaderBoardScore();
|
|
45280
45330
|
init_getUserKeyForGame();
|
|
45281
45331
|
init_grantPromotionRewardForGame();
|
|
45332
|
+
init_getIsTossLoginIntegratedService();
|
|
45282
45333
|
init_contactsViral();
|
|
45283
45334
|
init_appsInTossSignTossCert();
|
|
45284
45335
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apps-in-toss/web-framework",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.9",
|
|
5
5
|
"description": "Web Framework for Apps In Toss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"prepack": "yarn build",
|
|
@@ -87,12 +87,12 @@
|
|
|
87
87
|
"zod": "3.24.4"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@apps-in-toss/bridge-core": "1.4.
|
|
91
|
-
"@apps-in-toss/cli": "1.4.
|
|
92
|
-
"@apps-in-toss/framework": "1.4.
|
|
93
|
-
"@apps-in-toss/plugins": "1.4.
|
|
94
|
-
"@apps-in-toss/web-analytics": "1.4.
|
|
95
|
-
"@apps-in-toss/web-bridge": "1.4.
|
|
90
|
+
"@apps-in-toss/bridge-core": "1.4.9",
|
|
91
|
+
"@apps-in-toss/cli": "1.4.9",
|
|
92
|
+
"@apps-in-toss/framework": "1.4.9",
|
|
93
|
+
"@apps-in-toss/plugins": "1.4.9",
|
|
94
|
+
"@apps-in-toss/web-analytics": "1.4.9",
|
|
95
|
+
"@apps-in-toss/web-bridge": "1.4.9",
|
|
96
96
|
"@babel/core": "7.23.9",
|
|
97
97
|
"@granite-js/cli": "0.1.28",
|
|
98
98
|
"@granite-js/mpack": "0.1.28",
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"publishConfig": {
|
|
105
105
|
"access": "public"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "307a579255dee27168c116256a56c4955ecaf51c"
|
|
108
108
|
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __esm = (fn, res) => function __init() {
|
|
15
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
16
|
-
};
|
|
17
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
18
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
19
|
-
};
|
|
20
|
-
var __export = (target, all) => {
|
|
21
|
-
for (var name in all)
|
|
22
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
23
|
-
};
|
|
24
|
-
var __copyProps = (to, from, except, desc) => {
|
|
25
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
-
for (let key of __getOwnPropNames(from))
|
|
27
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29
|
-
}
|
|
30
|
-
return to;
|
|
31
|
-
};
|
|
32
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
33
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
34
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
35
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
36
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
37
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
38
|
-
mod
|
|
39
|
-
));
|
|
40
|
-
|
|
41
|
-
// ../../.yarn/__virtual__/tsup-virtual-7863592962/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js
|
|
42
|
-
import { fileURLToPath } from "url";
|
|
43
|
-
import path from "path";
|
|
44
|
-
var getFilename, getDirname, __dirname, __filename;
|
|
45
|
-
var init_esm_shims = __esm({
|
|
46
|
-
"../../.yarn/__virtual__/tsup-virtual-7863592962/0/cache/tsup-npm-8.3.5-ed25596739-7794953cbc.zip/node_modules/tsup/assets/esm_shims.js"() {
|
|
47
|
-
"use strict";
|
|
48
|
-
getFilename = () => fileURLToPath(import.meta.url);
|
|
49
|
-
getDirname = () => path.dirname(getFilename());
|
|
50
|
-
__dirname = /* @__PURE__ */ getDirname();
|
|
51
|
-
__filename = /* @__PURE__ */ getFilename();
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
export {
|
|
56
|
-
__require,
|
|
57
|
-
__commonJS,
|
|
58
|
-
__export,
|
|
59
|
-
__toESM,
|
|
60
|
-
__dirname,
|
|
61
|
-
__filename,
|
|
62
|
-
init_esm_shims
|
|
63
|
-
};
|