-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
57 lines (52 loc) · 1.11 KB
/
index.ts
File metadata and controls
57 lines (52 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* UPI Intents Library - Main API
* A framework-agnostic library for generating UPI app-specific deep links
*/
// Core API exports
export {
type UpiParams,
type PartialUpiParams,
type UpiAction,
type UpiValidationResult,
validateUpiParams,
buildUpiUri,
parseUpiUri,
createPaymentUri,
createMandateUri
} from './src/core/params.js';
export {
type AppLinkOptions,
type GeneratedLink,
type Platform,
buildAppLink,
buildMultipleAppLinks,
buildGenericUpiLink,
detectPlatform,
supportsIntentUrls,
getBestLinkStrategy
} from './src/core/linkers.js';
export {
type UpiApp,
type UpiAppId,
type VerificationStatus,
getAllApps,
getApp,
getVerifiedApps,
getAppsForPlatform,
getAppLinkTemplate,
getStoreUrl,
isAppVerified,
getAllAppIds,
getVerifiedAppIds,
getDefaultAppIds
} from './src/data/registry.js';
// QR Code generation
export {
type QRCodeOptions,
type QRCodeResult,
generateQRCode,
generateQRCanvas,
downloadQRCode
} from './src/qr/encoder';
// Re-export for convenience
export { default as appsData } from './src/data/apps.json' assert { type: 'json' };