@stackedapp/types 1.10.0 → 1.11.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/dist/stacked-types.d.ts +137 -3
- package/package.json +1 -1
package/dist/stacked-types.d.ts
CHANGED
|
@@ -1010,8 +1010,8 @@ type StackedContentStats = ContentStats;
|
|
|
1010
1010
|
interface IThirdPartyApp {
|
|
1011
1011
|
/** the organization_id from stytch for b2b auth */
|
|
1012
1012
|
stytchId?: string;
|
|
1013
|
-
/**
|
|
1014
|
-
|
|
1013
|
+
/** if true, then automatically add and connect this organization to the stacked User's app connections */
|
|
1014
|
+
autoAdd?: boolean;
|
|
1015
1015
|
/** growthbook project id */
|
|
1016
1016
|
growthbookProjectId?: string;
|
|
1017
1017
|
/** should we show advanced offer fields and settings? */
|
|
@@ -1218,7 +1218,141 @@ interface IAppState {
|
|
|
1218
1218
|
type StackedThirdPartyApp = Pick<IThirdPartyApp, 'id' | 'displayName' | 'image' | 'showLinkable' | 'url' | 'tagline' | 'description' | 'genres' | 'trailerUrl' | 'gameThumbnail' | 'logo' | 'squareLogo' | 'headerImage' | 'squareScreenshot' | 'screenshots' | 'appStoreUrl' | 'playStoreUrl' | 'webUrl' | 'landingPageUrl' | 'appStoreRating' | 'appStoreRatingCount' | 'playStoreRating' | 'playStoreRatingCount'>;
|
|
1219
1219
|
type StackedAppState = Pick<IAppState, 'featureFlags' | 'maxCryptoWallets' | 'maxOfferSlots' | 'restrictedCountryCodes' | 'deleteWalletThresholdDays'>;
|
|
1220
1220
|
|
|
1221
|
-
|
|
1221
|
+
declare const SupportedNetworks: readonly [
|
|
1222
|
+
'ethereum',
|
|
1223
|
+
'sepolia',
|
|
1224
|
+
'ronin',
|
|
1225
|
+
'saigon',
|
|
1226
|
+
'worldChainMainnet',
|
|
1227
|
+
'worldChainSepolia',
|
|
1228
|
+
'shapeMainnet',
|
|
1229
|
+
'shapeSepolia',
|
|
1230
|
+
'ethereumHolešky',
|
|
1231
|
+
'ethereumHoodi',
|
|
1232
|
+
'ethereumMainnetBeacon',
|
|
1233
|
+
'ethereumSepoliaBeacon',
|
|
1234
|
+
'ethereumHoleškyBeacon',
|
|
1235
|
+
'ethereumHoodiBeacon',
|
|
1236
|
+
'zksyncMainnet',
|
|
1237
|
+
'zksyncSepolia',
|
|
1238
|
+
'opMainnetMainnet',
|
|
1239
|
+
'opMainnetSepolia',
|
|
1240
|
+
'polygonMainnet',
|
|
1241
|
+
'polygonAmoy',
|
|
1242
|
+
'arbitrumMainnet',
|
|
1243
|
+
'arbitrumSepolia',
|
|
1244
|
+
'starknetMainnet',
|
|
1245
|
+
'starknetSepolia',
|
|
1246
|
+
'arbitrumNovaMainnet',
|
|
1247
|
+
'astarMainnet',
|
|
1248
|
+
'polygonZkevmMainnet',
|
|
1249
|
+
'polygonZkevmCardona',
|
|
1250
|
+
'zetachainMainnet',
|
|
1251
|
+
'zetachainTestnet',
|
|
1252
|
+
'mantleMainnet',
|
|
1253
|
+
'mantleSepolia',
|
|
1254
|
+
'berachainMainnet',
|
|
1255
|
+
'berachainBepolia',
|
|
1256
|
+
'blastMainnet',
|
|
1257
|
+
'blastSepolia',
|
|
1258
|
+
'lineaMainnet',
|
|
1259
|
+
'lineaSepolia',
|
|
1260
|
+
'zoraMainnet',
|
|
1261
|
+
'zoraSepolia',
|
|
1262
|
+
'plasmaMainnet',
|
|
1263
|
+
'plasmaTestnet',
|
|
1264
|
+
'settlusMainnet',
|
|
1265
|
+
'settlusSepolia',
|
|
1266
|
+
'bobMainnet',
|
|
1267
|
+
'bobSepolia',
|
|
1268
|
+
'megaethTestnet',
|
|
1269
|
+
'rootstockMainnet',
|
|
1270
|
+
'rootstockTestnet',
|
|
1271
|
+
'citreaTestnet',
|
|
1272
|
+
'teaSepolia',
|
|
1273
|
+
'solanaMainnet',
|
|
1274
|
+
'solanaDevnet',
|
|
1275
|
+
'gensynTestnet',
|
|
1276
|
+
'arcTestnet',
|
|
1277
|
+
'storyMainnet',
|
|
1278
|
+
'storyAeneid',
|
|
1279
|
+
'clankermonMainnet',
|
|
1280
|
+
'humanityMainnet',
|
|
1281
|
+
'humanityTestnet',
|
|
1282
|
+
'baseMainnet',
|
|
1283
|
+
'baseSepolia',
|
|
1284
|
+
'hyperliquidMainnet',
|
|
1285
|
+
'hyperliquidTestnet',
|
|
1286
|
+
'galacticaMainnet',
|
|
1287
|
+
'galacticaCassiopeia',
|
|
1288
|
+
'lensMainnet',
|
|
1289
|
+
'lensSepolia',
|
|
1290
|
+
'worldmobilechainMainnet',
|
|
1291
|
+
'fraxMainnet',
|
|
1292
|
+
'fraxSepolia',
|
|
1293
|
+
'inkMainnet',
|
|
1294
|
+
'inkSepolia',
|
|
1295
|
+
'avalancheMainnet',
|
|
1296
|
+
'avalancheFuji',
|
|
1297
|
+
'botanixMainnet',
|
|
1298
|
+
'botanixTestnet',
|
|
1299
|
+
'gnosisMainnet',
|
|
1300
|
+
'gnosisChiado',
|
|
1301
|
+
'celestiabridgeMainnet',
|
|
1302
|
+
'celestiabridgeMocha',
|
|
1303
|
+
'bnbSmartChainMainnet',
|
|
1304
|
+
'bnbSmartChainTestnet',
|
|
1305
|
+
'bobaMainnet',
|
|
1306
|
+
'bobaSepolia',
|
|
1307
|
+
'lumiaPrism',
|
|
1308
|
+
'lumiaBeam',
|
|
1309
|
+
'unichainMainnet',
|
|
1310
|
+
'unichainSepolia',
|
|
1311
|
+
'syndicateMainnet',
|
|
1312
|
+
'superseedMainnet',
|
|
1313
|
+
'superseedSepolia',
|
|
1314
|
+
'riseTestnet',
|
|
1315
|
+
'monadTestnet',
|
|
1316
|
+
'monadMainnet',
|
|
1317
|
+
'flowEvmMainnet',
|
|
1318
|
+
'flowEvmTestnet',
|
|
1319
|
+
'worldmobileTestnet',
|
|
1320
|
+
'tronMainnet',
|
|
1321
|
+
'tronTestnet',
|
|
1322
|
+
'degenMainnet',
|
|
1323
|
+
'bitcoinMainnet',
|
|
1324
|
+
'bitcoinTestnet',
|
|
1325
|
+
'bitcoinSignet',
|
|
1326
|
+
'polynomialMainnet',
|
|
1327
|
+
'polynomialSepolia',
|
|
1328
|
+
'modeMainnet',
|
|
1329
|
+
'modeSepolia',
|
|
1330
|
+
'moonbeamMainnet',
|
|
1331
|
+
'apechainMainnet',
|
|
1332
|
+
'apechainCurtis',
|
|
1333
|
+
'celoMainnet',
|
|
1334
|
+
'celoSepolia',
|
|
1335
|
+
'aptosMainnet',
|
|
1336
|
+
'aptosTestnet',
|
|
1337
|
+
'animeMainnet',
|
|
1338
|
+
'animeSepolia',
|
|
1339
|
+
'metisMainnet',
|
|
1340
|
+
'sonicMainnet',
|
|
1341
|
+
'sonicTestnet',
|
|
1342
|
+
'sonicBlaze',
|
|
1343
|
+
'seiMainnet',
|
|
1344
|
+
'seiTestnet',
|
|
1345
|
+
'xmtpRopsten',
|
|
1346
|
+
'adiTestnetAb',
|
|
1347
|
+
'scrollMainnet',
|
|
1348
|
+
'scrollSepolia',
|
|
1349
|
+
'opbnbMainnet',
|
|
1350
|
+
'opbnbTestnet',
|
|
1351
|
+
'crossfiTestnet',
|
|
1352
|
+
'crossfiMainnet',
|
|
1353
|
+
'abstractMainnet'
|
|
1354
|
+
];
|
|
1355
|
+
type SupportedNetwork = (typeof SupportedNetworks)[number];
|
|
1222
1356
|
interface ICurrency {
|
|
1223
1357
|
_id: Stringable;
|
|
1224
1358
|
/** if true, then this currency can be used as a reward currency from offerwall/neo */
|