vialink-react-native-sdk 2.1.3 → 2.1.5

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.
Files changed (27) hide show
  1. package/android/libs/vialink-sdk.aar +0 -0
  2. package/android/src/main/java/com/vialink/reactnative/ViaLinkModule.kt +2 -0
  3. package/dist/ViaLinkSDK.d.ts +1 -0
  4. package/ios/Frameworks/ViaLinkCore.xcframework/Info.plist +5 -5
  5. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  6. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios.abi.json +82 -6
  7. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios.package.swiftinterface +2 -1
  8. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -1
  9. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  10. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios.swiftinterface +2 -1
  11. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64/ViaLinkCore.framework/ViaLinkCore +0 -0
  12. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  13. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  14. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios-simulator.abi.json +82 -6
  15. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios-simulator.package.swiftinterface +2 -1
  16. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -1
  17. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  18. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -1
  19. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/x86_64-apple-ios-simulator.abi.json +82 -6
  20. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/x86_64-apple-ios-simulator.package.swiftinterface +2 -1
  21. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -1
  22. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  23. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/Modules/ViaLinkCore.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -1
  24. package/ios/Frameworks/ViaLinkCore.xcframework/ios-arm64_x86_64-simulator/ViaLinkCore.framework/ViaLinkCore +0 -0
  25. package/ios/ViaLinkModule.swift +2 -1
  26. package/package.json +1 -1
  27. package/vialink-react-native-sdk.podspec +1 -1
Binary file
@@ -165,5 +165,7 @@ private fun DeepLinkData.toWritableMap(): WritableMap {
165
165
  params.forEach { (k, v) -> paramsMap.putString(k, v) }
166
166
  map.putMap("params", paramsMap)
167
167
  shortCode?.let { map.putString("shortCode", it) }
168
+ // 어트리뷰션용 numeric link_id (없으면 키 자체를 누락)
169
+ linkId?.let { map.putInt("linkId", it) }
168
170
  return map
169
171
  }
@@ -2,6 +2,7 @@ export interface DeepLinkData {
2
2
  path: string;
3
3
  params: Record<string, string>;
4
4
  shortCode?: string;
5
+ linkId?: number;
5
6
  }
6
7
  /**
7
8
  * 결제 시도 이벤트 입력 인자.
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>ViaLinkCore.framework/ViaLinkCore</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>ViaLinkCore.framework</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>x86_64</string>
17
18
  </array>
18
19
  <key>SupportedPlatform</key>
19
20
  <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
20
23
  </dict>
21
24
  <dict>
22
25
  <key>BinaryPath</key>
23
26
  <string>ViaLinkCore.framework/ViaLinkCore</string>
24
27
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-simulator</string>
28
+ <string>ios-arm64</string>
26
29
  <key>LibraryPath</key>
27
30
  <string>ViaLinkCore.framework</string>
28
31
  <key>SupportedArchitectures</key>
29
32
  <array>
30
33
  <string>arm64</string>
31
- <string>x86_64</string>
32
34
  </array>
33
35
  <key>SupportedPlatform</key>
34
36
  <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
@@ -237,10 +237,71 @@
237
237
  }
238
238
  ]
239
239
  },
240
+ {
241
+ "kind": "Var",
242
+ "name": "linkId",
243
+ "printedName": "linkId",
244
+ "children": [
245
+ {
246
+ "kind": "TypeNominal",
247
+ "name": "Optional",
248
+ "printedName": "Swift.Int?",
249
+ "children": [
250
+ {
251
+ "kind": "TypeNominal",
252
+ "name": "Int",
253
+ "printedName": "Swift.Int",
254
+ "usr": "s:Si"
255
+ }
256
+ ],
257
+ "usr": "s:Sq"
258
+ }
259
+ ],
260
+ "declKind": "Var",
261
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
262
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
263
+ "moduleName": "ViaLinkCore",
264
+ "declAttributes": [
265
+ "HasStorage",
266
+ "AccessControl",
267
+ "RawDocComment"
268
+ ],
269
+ "isLet": true,
270
+ "hasStorage": true,
271
+ "accessors": [
272
+ {
273
+ "kind": "Accessor",
274
+ "name": "Get",
275
+ "printedName": "Get()",
276
+ "children": [
277
+ {
278
+ "kind": "TypeNominal",
279
+ "name": "Optional",
280
+ "printedName": "Swift.Int?",
281
+ "children": [
282
+ {
283
+ "kind": "TypeNominal",
284
+ "name": "Int",
285
+ "printedName": "Swift.Int",
286
+ "usr": "s:Si"
287
+ }
288
+ ],
289
+ "usr": "s:Sq"
290
+ }
291
+ ],
292
+ "declKind": "Accessor",
293
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
294
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
295
+ "moduleName": "ViaLinkCore",
296
+ "implicit": true,
297
+ "accessorKind": "get"
298
+ }
299
+ ]
300
+ },
240
301
  {
241
302
  "kind": "Constructor",
242
303
  "name": "init",
243
- "printedName": "init(path:params:shortCode:)",
304
+ "printedName": "init(path:params:shortCode:linkId:)",
244
305
  "children": [
245
306
  {
246
307
  "kind": "TypeNominal",
@@ -289,11 +350,26 @@
289
350
  ],
290
351
  "hasDefaultArg": true,
291
352
  "usr": "s:Sq"
353
+ },
354
+ {
355
+ "kind": "TypeNominal",
356
+ "name": "Optional",
357
+ "printedName": "Swift.Int?",
358
+ "children": [
359
+ {
360
+ "kind": "TypeNominal",
361
+ "name": "Int",
362
+ "printedName": "Swift.Int",
363
+ "usr": "s:Si"
364
+ }
365
+ ],
366
+ "hasDefaultArg": true,
367
+ "usr": "s:Sq"
292
368
  }
293
369
  ],
294
370
  "declKind": "Constructor",
295
- "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
296
- "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
371
+ "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
372
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
297
373
  "moduleName": "ViaLinkCore",
298
374
  "declAttributes": [
299
375
  "AccessControl"
@@ -2373,7 +2449,7 @@
2373
2449
  {
2374
2450
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/Models\/DeepLinkData.swift",
2375
2451
  "kind": "Dictionary",
2376
- "offset": 420,
2452
+ "offset": 623,
2377
2453
  "length": 3,
2378
2454
  "value": "[]"
2379
2455
  },
@@ -2401,14 +2477,14 @@
2401
2477
  {
2402
2478
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2403
2479
  "kind": "StringLiteral",
2404
- "offset": 8438,
2480
+ "offset": 9395,
2405
2481
  "length": 9,
2406
2482
  "value": "\"dynamic\""
2407
2483
  },
2408
2484
  {
2409
2485
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2410
2486
  "kind": "StringLiteral",
2411
- "offset": 10869,
2487
+ "offset": 11826,
2412
2488
  "length": 26,
2413
2489
  "value": "\"^[A-Za-z0-9_\\-]{1,100}$\""
2414
2490
  }
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -237,10 +237,71 @@
237
237
  }
238
238
  ]
239
239
  },
240
+ {
241
+ "kind": "Var",
242
+ "name": "linkId",
243
+ "printedName": "linkId",
244
+ "children": [
245
+ {
246
+ "kind": "TypeNominal",
247
+ "name": "Optional",
248
+ "printedName": "Swift.Int?",
249
+ "children": [
250
+ {
251
+ "kind": "TypeNominal",
252
+ "name": "Int",
253
+ "printedName": "Swift.Int",
254
+ "usr": "s:Si"
255
+ }
256
+ ],
257
+ "usr": "s:Sq"
258
+ }
259
+ ],
260
+ "declKind": "Var",
261
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
262
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
263
+ "moduleName": "ViaLinkCore",
264
+ "declAttributes": [
265
+ "HasStorage",
266
+ "AccessControl",
267
+ "RawDocComment"
268
+ ],
269
+ "isLet": true,
270
+ "hasStorage": true,
271
+ "accessors": [
272
+ {
273
+ "kind": "Accessor",
274
+ "name": "Get",
275
+ "printedName": "Get()",
276
+ "children": [
277
+ {
278
+ "kind": "TypeNominal",
279
+ "name": "Optional",
280
+ "printedName": "Swift.Int?",
281
+ "children": [
282
+ {
283
+ "kind": "TypeNominal",
284
+ "name": "Int",
285
+ "printedName": "Swift.Int",
286
+ "usr": "s:Si"
287
+ }
288
+ ],
289
+ "usr": "s:Sq"
290
+ }
291
+ ],
292
+ "declKind": "Accessor",
293
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
294
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
295
+ "moduleName": "ViaLinkCore",
296
+ "implicit": true,
297
+ "accessorKind": "get"
298
+ }
299
+ ]
300
+ },
240
301
  {
241
302
  "kind": "Constructor",
242
303
  "name": "init",
243
- "printedName": "init(path:params:shortCode:)",
304
+ "printedName": "init(path:params:shortCode:linkId:)",
244
305
  "children": [
245
306
  {
246
307
  "kind": "TypeNominal",
@@ -289,11 +350,26 @@
289
350
  ],
290
351
  "hasDefaultArg": true,
291
352
  "usr": "s:Sq"
353
+ },
354
+ {
355
+ "kind": "TypeNominal",
356
+ "name": "Optional",
357
+ "printedName": "Swift.Int?",
358
+ "children": [
359
+ {
360
+ "kind": "TypeNominal",
361
+ "name": "Int",
362
+ "printedName": "Swift.Int",
363
+ "usr": "s:Si"
364
+ }
365
+ ],
366
+ "hasDefaultArg": true,
367
+ "usr": "s:Sq"
292
368
  }
293
369
  ],
294
370
  "declKind": "Constructor",
295
- "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
296
- "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
371
+ "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
372
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
297
373
  "moduleName": "ViaLinkCore",
298
374
  "declAttributes": [
299
375
  "AccessControl"
@@ -2373,7 +2449,7 @@
2373
2449
  {
2374
2450
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/Models\/DeepLinkData.swift",
2375
2451
  "kind": "Dictionary",
2376
- "offset": 420,
2452
+ "offset": 623,
2377
2453
  "length": 3,
2378
2454
  "value": "[]"
2379
2455
  },
@@ -2401,14 +2477,14 @@
2401
2477
  {
2402
2478
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2403
2479
  "kind": "StringLiteral",
2404
- "offset": 8438,
2480
+ "offset": 9395,
2405
2481
  "length": 9,
2406
2482
  "value": "\"dynamic\""
2407
2483
  },
2408
2484
  {
2409
2485
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2410
2486
  "kind": "StringLiteral",
2411
- "offset": 10869,
2487
+ "offset": 11826,
2412
2488
  "length": 26,
2413
2489
  "value": "\"^[A-Za-z0-9_\\-]{1,100}$\""
2414
2490
  }
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -237,10 +237,71 @@
237
237
  }
238
238
  ]
239
239
  },
240
+ {
241
+ "kind": "Var",
242
+ "name": "linkId",
243
+ "printedName": "linkId",
244
+ "children": [
245
+ {
246
+ "kind": "TypeNominal",
247
+ "name": "Optional",
248
+ "printedName": "Swift.Int?",
249
+ "children": [
250
+ {
251
+ "kind": "TypeNominal",
252
+ "name": "Int",
253
+ "printedName": "Swift.Int",
254
+ "usr": "s:Si"
255
+ }
256
+ ],
257
+ "usr": "s:Sq"
258
+ }
259
+ ],
260
+ "declKind": "Var",
261
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
262
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvp",
263
+ "moduleName": "ViaLinkCore",
264
+ "declAttributes": [
265
+ "HasStorage",
266
+ "AccessControl",
267
+ "RawDocComment"
268
+ ],
269
+ "isLet": true,
270
+ "hasStorage": true,
271
+ "accessors": [
272
+ {
273
+ "kind": "Accessor",
274
+ "name": "Get",
275
+ "printedName": "Get()",
276
+ "children": [
277
+ {
278
+ "kind": "TypeNominal",
279
+ "name": "Optional",
280
+ "printedName": "Swift.Int?",
281
+ "children": [
282
+ {
283
+ "kind": "TypeNominal",
284
+ "name": "Int",
285
+ "printedName": "Swift.Int",
286
+ "usr": "s:Si"
287
+ }
288
+ ],
289
+ "usr": "s:Sq"
290
+ }
291
+ ],
292
+ "declKind": "Accessor",
293
+ "usr": "s:11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
294
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV6linkIdSiSgvg",
295
+ "moduleName": "ViaLinkCore",
296
+ "implicit": true,
297
+ "accessorKind": "get"
298
+ }
299
+ ]
300
+ },
240
301
  {
241
302
  "kind": "Constructor",
242
303
  "name": "init",
243
- "printedName": "init(path:params:shortCode:)",
304
+ "printedName": "init(path:params:shortCode:linkId:)",
244
305
  "children": [
245
306
  {
246
307
  "kind": "TypeNominal",
@@ -289,11 +350,26 @@
289
350
  ],
290
351
  "hasDefaultArg": true,
291
352
  "usr": "s:Sq"
353
+ },
354
+ {
355
+ "kind": "TypeNominal",
356
+ "name": "Optional",
357
+ "printedName": "Swift.Int?",
358
+ "children": [
359
+ {
360
+ "kind": "TypeNominal",
361
+ "name": "Int",
362
+ "printedName": "Swift.Int",
363
+ "usr": "s:Si"
364
+ }
365
+ ],
366
+ "hasDefaultArg": true,
367
+ "usr": "s:Sq"
292
368
  }
293
369
  ],
294
370
  "declKind": "Constructor",
295
- "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
296
- "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCodeACSS_SDyS2SGSSSgtcfc",
371
+ "usr": "s:11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
372
+ "mangledName": "$s11ViaLinkCore04DeepB4DataV4path6params9shortCode6linkIdACSS_SDyS2SGSSSgSiSgtcfc",
297
373
  "moduleName": "ViaLinkCore",
298
374
  "declAttributes": [
299
375
  "AccessControl"
@@ -2373,7 +2449,7 @@
2373
2449
  {
2374
2450
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/Models\/DeepLinkData.swift",
2375
2451
  "kind": "Dictionary",
2376
- "offset": 420,
2452
+ "offset": 623,
2377
2453
  "length": 3,
2378
2454
  "value": "[]"
2379
2455
  },
@@ -2401,14 +2477,14 @@
2401
2477
  {
2402
2478
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2403
2479
  "kind": "StringLiteral",
2404
- "offset": 8438,
2480
+ "offset": 9395,
2405
2481
  "length": 9,
2406
2482
  "value": "\"dynamic\""
2407
2483
  },
2408
2484
  {
2409
2485
  "filePath": "\/Users\/sungyonglee\/Dropbox\/project\/vialink-ios-sdk\/Sources\/ViaLinkCore\/ViaLinkSDK.swift",
2410
2486
  "kind": "StringLiteral",
2411
- "offset": 10869,
2487
+ "offset": 11826,
2412
2488
  "length": 26,
2413
2489
  "value": "\"^[A-Za-z0-9_\\-]{1,100}$\""
2414
2490
  }
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -14,7 +14,8 @@ public struct DeepLinkData : Swift.Sendable {
14
14
  public let path: Swift.String
15
15
  public let params: [Swift.String : Swift.String]
16
16
  public let shortCode: Swift.String?
17
- public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil)
17
+ public let linkId: Swift.Int?
18
+ public init(path: Swift.String, params: [Swift.String : Swift.String] = [:], shortCode: Swift.String? = nil, linkId: Swift.Int? = nil)
18
19
  }
19
20
  public struct PaymentInitiatedArgs : Swift.Sendable {
20
21
  public let orderId: Swift.String
@@ -132,6 +132,7 @@ class ViaLinkModule: RCTEventEmitter {
132
132
 
133
133
  extension DeepLinkData {
134
134
  func toDictionary() -> [String: Any?] {
135
- ["path": path, "params": params, "shortCode": shortCode]
135
+ // 어트리뷰션용 numeric link_id 포함 — JS 측 DeepLinkData.linkId로 노출됨
136
+ ["path": path, "params": params, "shortCode": shortCode, "linkId": linkId]
136
137
  }
137
138
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vialink-react-native-sdk",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "ViaLink 딥링크 SDK for React Native (네이티브 브릿지)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = "vialink-react-native-sdk"
3
- s.version = "2.1.3"
3
+ s.version = "2.1.5"
4
4
  s.summary = "ViaLink Deep Link SDK for React Native"
5
5
  s.homepage = "https://vialink.app"
6
6
  s.license = "MIT"