@explorins/pers-sdk-react-native 2.0.0 → 2.0.2
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/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +147 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +27 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@explorins/pers-sdk-react-native",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "React Native SDK for PERS Platform - Tourism Loyalty System with Blockchain Transaction Signing and WebAuthn Authentication",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"author": "eXplorins",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@explorins/pers-sdk": "^2.0.
|
|
40
|
+
"@explorins/pers-sdk": "^2.0.2",
|
|
41
41
|
"@explorins/pers-shared": "^2.1.64",
|
|
42
42
|
"@explorins/pers-signer": "^1.0.33",
|
|
43
43
|
"@explorins/web3-ts": "^0.3.77",
|
package/src/index.ts
CHANGED
|
@@ -319,11 +319,38 @@ export {
|
|
|
319
319
|
* - Business and campaign types (BusinessDTO, CampaignDTO, etc.)
|
|
320
320
|
* - API request/response types for all endpoints
|
|
321
321
|
* - Error types and status enums
|
|
322
|
+
* - Utility functions for pagination, token display, etc.
|
|
322
323
|
*
|
|
323
324
|
* @see {@link https://github.com/eXplorins/pers-shared} - Shared library documentation
|
|
324
325
|
*/
|
|
325
326
|
export * from '@explorins/pers-shared';
|
|
326
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Token utilities re-exported from token module
|
|
330
|
+
*
|
|
331
|
+
* @see {@link getMetadataFromTokenUnitResponse} - Get full metadata object from token unit
|
|
332
|
+
*/
|
|
333
|
+
export { getMetadataFromTokenUnitResponse } from '@explorins/pers-sdk/token';
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Shared SDK utilities re-exported from base SDK
|
|
337
|
+
*
|
|
338
|
+
* Includes helper functions for:
|
|
339
|
+
* - Pagination utilities (buildPaginationParams, extractData, etc.)
|
|
340
|
+
*/
|
|
341
|
+
export {
|
|
342
|
+
// Pagination utilities
|
|
343
|
+
buildPaginationParams,
|
|
344
|
+
extractData,
|
|
345
|
+
extractPagination,
|
|
346
|
+
isPaginatedResponse,
|
|
347
|
+
normalizeToPaginated,
|
|
348
|
+
fetchAllPages,
|
|
349
|
+
type PaginationOptions,
|
|
350
|
+
type PaginationWithFilters,
|
|
351
|
+
type ListResponse
|
|
352
|
+
} from '@explorins/pers-sdk';
|
|
353
|
+
|
|
327
354
|
/**
|
|
328
355
|
* Re-export Web3 and blockchain-related types from base SDK
|
|
329
356
|
*
|