@pnlight/sdk-react-native 0.1.0

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 (28) hide show
  1. package/PNLight.xcframework/Info.plist +44 -0
  2. package/PNLight.xcframework/ios-arm64/PNLight.framework/Headers/PNLight-Swift.h +341 -0
  3. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  4. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.abi.json +625 -0
  5. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.private.swiftinterface +39 -0
  6. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  7. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftinterface +39 -0
  8. package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/module.modulemap +4 -0
  9. package/PNLight.xcframework/ios-arm64/PNLight.framework/PNLight +0 -0
  10. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Headers/PNLight-Swift.h +678 -0
  11. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  12. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  13. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.abi.json +625 -0
  14. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +39 -0
  15. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  16. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftinterface +39 -0
  17. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.abi.json +625 -0
  18. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +39 -0
  19. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  20. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +39 -0
  21. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/module.modulemap +4 -0
  22. package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/PNLight +0 -0
  23. package/PNLightSDK.podspec +20 -0
  24. package/index.d.ts +3 -0
  25. package/index.js +14 -0
  26. package/ios/PNLightSDK.m +10 -0
  27. package/ios/PNLightSDK.swift +19 -0
  28. package/package.json +28 -0
@@ -0,0 +1,678 @@
1
+ #if 0
2
+ #elif defined(__arm64__) && __arm64__
3
+ // Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
4
+ #ifndef PNLIGHT_SWIFT_H
5
+ #define PNLIGHT_SWIFT_H
6
+ #pragma clang diagnostic push
7
+ #pragma clang diagnostic ignored "-Wgcc-compat"
8
+
9
+ #if !defined(__has_include)
10
+ # define __has_include(x) 0
11
+ #endif
12
+ #if !defined(__has_attribute)
13
+ # define __has_attribute(x) 0
14
+ #endif
15
+ #if !defined(__has_feature)
16
+ # define __has_feature(x) 0
17
+ #endif
18
+ #if !defined(__has_warning)
19
+ # define __has_warning(x) 0
20
+ #endif
21
+
22
+ #if __has_include(<swift/objc-prologue.h>)
23
+ # include <swift/objc-prologue.h>
24
+ #endif
25
+
26
+ #pragma clang diagnostic ignored "-Wauto-import"
27
+ #if defined(__OBJC__)
28
+ #include <Foundation/Foundation.h>
29
+ #endif
30
+ #if defined(__cplusplus)
31
+ #include <cstdint>
32
+ #include <cstddef>
33
+ #include <cstdbool>
34
+ #include <cstring>
35
+ #include <stdlib.h>
36
+ #include <new>
37
+ #include <type_traits>
38
+ #else
39
+ #include <stdint.h>
40
+ #include <stddef.h>
41
+ #include <stdbool.h>
42
+ #include <string.h>
43
+ #endif
44
+ #if defined(__cplusplus)
45
+ #pragma clang diagnostic push
46
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
47
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
48
+ # include <ptrauth.h>
49
+ #else
50
+ #pragma clang diagnostic push
51
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
52
+ # ifndef __ptrauth_swift_value_witness_function_pointer
53
+ # define __ptrauth_swift_value_witness_function_pointer(x)
54
+ # endif
55
+ # ifndef __ptrauth_swift_class_method_pointer
56
+ # define __ptrauth_swift_class_method_pointer(x)
57
+ # endif
58
+ #pragma clang diagnostic pop
59
+ #endif
60
+ #pragma clang diagnostic pop
61
+ #endif
62
+
63
+ #if !defined(SWIFT_TYPEDEFS)
64
+ # define SWIFT_TYPEDEFS 1
65
+ # if __has_include(<uchar.h>)
66
+ # include <uchar.h>
67
+ # elif !defined(__cplusplus)
68
+ typedef uint_least16_t char16_t;
69
+ typedef uint_least32_t char32_t;
70
+ # endif
71
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
72
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
73
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
74
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
75
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
76
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
77
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
78
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
79
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
80
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
81
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
82
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
83
+ #endif
84
+
85
+ #if !defined(SWIFT_PASTE)
86
+ # define SWIFT_PASTE_HELPER(x, y) x##y
87
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
88
+ #endif
89
+ #if !defined(SWIFT_METATYPE)
90
+ # define SWIFT_METATYPE(X) Class
91
+ #endif
92
+ #if !defined(SWIFT_CLASS_PROPERTY)
93
+ # if __has_feature(objc_class_property)
94
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
95
+ # else
96
+ # define SWIFT_CLASS_PROPERTY(...)
97
+ # endif
98
+ #endif
99
+ #if !defined(SWIFT_RUNTIME_NAME)
100
+ # if __has_attribute(objc_runtime_name)
101
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
102
+ # else
103
+ # define SWIFT_RUNTIME_NAME(X)
104
+ # endif
105
+ #endif
106
+ #if !defined(SWIFT_COMPILE_NAME)
107
+ # if __has_attribute(swift_name)
108
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
109
+ # else
110
+ # define SWIFT_COMPILE_NAME(X)
111
+ # endif
112
+ #endif
113
+ #if !defined(SWIFT_METHOD_FAMILY)
114
+ # if __has_attribute(objc_method_family)
115
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
116
+ # else
117
+ # define SWIFT_METHOD_FAMILY(X)
118
+ # endif
119
+ #endif
120
+ #if !defined(SWIFT_NOESCAPE)
121
+ # if __has_attribute(noescape)
122
+ # define SWIFT_NOESCAPE __attribute__((noescape))
123
+ # else
124
+ # define SWIFT_NOESCAPE
125
+ # endif
126
+ #endif
127
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
128
+ # if __has_attribute(ns_consumed)
129
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
130
+ # else
131
+ # define SWIFT_RELEASES_ARGUMENT
132
+ # endif
133
+ #endif
134
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
135
+ # if __has_attribute(warn_unused_result)
136
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
137
+ # else
138
+ # define SWIFT_WARN_UNUSED_RESULT
139
+ # endif
140
+ #endif
141
+ #if !defined(SWIFT_NORETURN)
142
+ # if __has_attribute(noreturn)
143
+ # define SWIFT_NORETURN __attribute__((noreturn))
144
+ # else
145
+ # define SWIFT_NORETURN
146
+ # endif
147
+ #endif
148
+ #if !defined(SWIFT_CLASS_EXTRA)
149
+ # define SWIFT_CLASS_EXTRA
150
+ #endif
151
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
152
+ # define SWIFT_PROTOCOL_EXTRA
153
+ #endif
154
+ #if !defined(SWIFT_ENUM_EXTRA)
155
+ # define SWIFT_ENUM_EXTRA
156
+ #endif
157
+ #if !defined(SWIFT_CLASS)
158
+ # if __has_attribute(objc_subclassing_restricted)
159
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
160
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
161
+ # else
162
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
163
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
164
+ # endif
165
+ #endif
166
+ #if !defined(SWIFT_RESILIENT_CLASS)
167
+ # if __has_attribute(objc_class_stub)
168
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
169
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
170
+ # else
171
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
172
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
173
+ # endif
174
+ #endif
175
+ #if !defined(SWIFT_PROTOCOL)
176
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
177
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
178
+ #endif
179
+ #if !defined(SWIFT_EXTENSION)
180
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
181
+ #endif
182
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
183
+ # if __has_attribute(objc_designated_initializer)
184
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
185
+ # else
186
+ # define OBJC_DESIGNATED_INITIALIZER
187
+ # endif
188
+ #endif
189
+ #if !defined(SWIFT_ENUM_ATTR)
190
+ # if __has_attribute(enum_extensibility)
191
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
192
+ # else
193
+ # define SWIFT_ENUM_ATTR(_extensibility)
194
+ # endif
195
+ #endif
196
+ #if !defined(SWIFT_ENUM)
197
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
198
+ # if __has_feature(generalized_swift_name)
199
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
200
+ # else
201
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
202
+ # endif
203
+ #endif
204
+ #if !defined(SWIFT_UNAVAILABLE)
205
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
206
+ #endif
207
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
208
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
209
+ #endif
210
+ #if !defined(SWIFT_AVAILABILITY)
211
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
212
+ #endif
213
+ #if !defined(SWIFT_WEAK_IMPORT)
214
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
215
+ #endif
216
+ #if !defined(SWIFT_DEPRECATED)
217
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
218
+ #endif
219
+ #if !defined(SWIFT_DEPRECATED_MSG)
220
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
221
+ #endif
222
+ #if !defined(SWIFT_DEPRECATED_OBJC)
223
+ # if __has_feature(attribute_diagnose_if_objc)
224
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
225
+ # else
226
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
227
+ # endif
228
+ #endif
229
+ #if defined(__OBJC__)
230
+ #if !defined(IBSegueAction)
231
+ # define IBSegueAction
232
+ #endif
233
+ #endif
234
+ #if !defined(SWIFT_EXTERN)
235
+ # if defined(__cplusplus)
236
+ # define SWIFT_EXTERN extern "C"
237
+ # else
238
+ # define SWIFT_EXTERN extern
239
+ # endif
240
+ #endif
241
+ #if !defined(SWIFT_CALL)
242
+ # define SWIFT_CALL __attribute__((swiftcall))
243
+ #endif
244
+ #if !defined(SWIFT_INDIRECT_RESULT)
245
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
246
+ #endif
247
+ #if !defined(SWIFT_CONTEXT)
248
+ # define SWIFT_CONTEXT __attribute__((swift_context))
249
+ #endif
250
+ #if !defined(SWIFT_ERROR_RESULT)
251
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
252
+ #endif
253
+ #if defined(__cplusplus)
254
+ # define SWIFT_NOEXCEPT noexcept
255
+ #else
256
+ # define SWIFT_NOEXCEPT
257
+ #endif
258
+ #if !defined(SWIFT_C_INLINE_THUNK)
259
+ # if __has_attribute(always_inline)
260
+ # if __has_attribute(nodebug)
261
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
262
+ # else
263
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
264
+ # endif
265
+ # else
266
+ # define SWIFT_C_INLINE_THUNK inline
267
+ # endif
268
+ #endif
269
+ #if defined(_WIN32)
270
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
271
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
272
+ #endif
273
+ #else
274
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
275
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
276
+ #endif
277
+ #endif
278
+ #if defined(__OBJC__)
279
+ #if __has_feature(objc_modules)
280
+ #if __has_warning("-Watimport-in-framework-header")
281
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
282
+ #endif
283
+ @import Foundation;
284
+ @import ObjectiveC;
285
+ @import StoreKit;
286
+ #endif
287
+
288
+ #endif
289
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
290
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
291
+ #if __has_warning("-Wpragma-clang-attribute")
292
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
293
+ #endif
294
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
295
+ #pragma clang diagnostic ignored "-Wnullability"
296
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
297
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
298
+
299
+ #if __has_attribute(external_source_symbol)
300
+ # pragma push_macro("any")
301
+ # undef any
302
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PNLight",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
303
+ # pragma pop_macro("any")
304
+ #endif
305
+
306
+ #if defined(__OBJC__)
307
+
308
+ SWIFT_CLASS("_TtC7PNLight10PNLightSDK")
309
+ @interface PNLightSDK : NSObject
310
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
311
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
312
+ @end
313
+
314
+
315
+
316
+ @class SKPaymentQueue;
317
+ @class SKPaymentTransaction;
318
+
319
+ @interface PNLightSDK (SWIFT_EXTENSION(PNLight)) <SKPaymentTransactionObserver>
320
+ - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions;
321
+ @end
322
+
323
+
324
+
325
+
326
+
327
+
328
+
329
+
330
+ #endif
331
+ #if __has_attribute(external_source_symbol)
332
+ # pragma clang attribute pop
333
+ #endif
334
+ #if defined(__cplusplus)
335
+ #endif
336
+ #pragma clang diagnostic pop
337
+ #endif
338
+
339
+ #elif defined(__x86_64__) && __x86_64__
340
+ // Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
341
+ #ifndef PNLIGHT_SWIFT_H
342
+ #define PNLIGHT_SWIFT_H
343
+ #pragma clang diagnostic push
344
+ #pragma clang diagnostic ignored "-Wgcc-compat"
345
+
346
+ #if !defined(__has_include)
347
+ # define __has_include(x) 0
348
+ #endif
349
+ #if !defined(__has_attribute)
350
+ # define __has_attribute(x) 0
351
+ #endif
352
+ #if !defined(__has_feature)
353
+ # define __has_feature(x) 0
354
+ #endif
355
+ #if !defined(__has_warning)
356
+ # define __has_warning(x) 0
357
+ #endif
358
+
359
+ #if __has_include(<swift/objc-prologue.h>)
360
+ # include <swift/objc-prologue.h>
361
+ #endif
362
+
363
+ #pragma clang diagnostic ignored "-Wauto-import"
364
+ #if defined(__OBJC__)
365
+ #include <Foundation/Foundation.h>
366
+ #endif
367
+ #if defined(__cplusplus)
368
+ #include <cstdint>
369
+ #include <cstddef>
370
+ #include <cstdbool>
371
+ #include <cstring>
372
+ #include <stdlib.h>
373
+ #include <new>
374
+ #include <type_traits>
375
+ #else
376
+ #include <stdint.h>
377
+ #include <stddef.h>
378
+ #include <stdbool.h>
379
+ #include <string.h>
380
+ #endif
381
+ #if defined(__cplusplus)
382
+ #pragma clang diagnostic push
383
+ #pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
384
+ #if defined(__arm64e__) && __has_include(<ptrauth.h>)
385
+ # include <ptrauth.h>
386
+ #else
387
+ #pragma clang diagnostic push
388
+ #pragma clang diagnostic ignored "-Wreserved-macro-identifier"
389
+ # ifndef __ptrauth_swift_value_witness_function_pointer
390
+ # define __ptrauth_swift_value_witness_function_pointer(x)
391
+ # endif
392
+ # ifndef __ptrauth_swift_class_method_pointer
393
+ # define __ptrauth_swift_class_method_pointer(x)
394
+ # endif
395
+ #pragma clang diagnostic pop
396
+ #endif
397
+ #pragma clang diagnostic pop
398
+ #endif
399
+
400
+ #if !defined(SWIFT_TYPEDEFS)
401
+ # define SWIFT_TYPEDEFS 1
402
+ # if __has_include(<uchar.h>)
403
+ # include <uchar.h>
404
+ # elif !defined(__cplusplus)
405
+ typedef uint_least16_t char16_t;
406
+ typedef uint_least32_t char32_t;
407
+ # endif
408
+ typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
409
+ typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
410
+ typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
411
+ typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
412
+ typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
413
+ typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
414
+ typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
415
+ typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
416
+ typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
417
+ typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
418
+ typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
419
+ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
420
+ #endif
421
+
422
+ #if !defined(SWIFT_PASTE)
423
+ # define SWIFT_PASTE_HELPER(x, y) x##y
424
+ # define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
425
+ #endif
426
+ #if !defined(SWIFT_METATYPE)
427
+ # define SWIFT_METATYPE(X) Class
428
+ #endif
429
+ #if !defined(SWIFT_CLASS_PROPERTY)
430
+ # if __has_feature(objc_class_property)
431
+ # define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
432
+ # else
433
+ # define SWIFT_CLASS_PROPERTY(...)
434
+ # endif
435
+ #endif
436
+ #if !defined(SWIFT_RUNTIME_NAME)
437
+ # if __has_attribute(objc_runtime_name)
438
+ # define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
439
+ # else
440
+ # define SWIFT_RUNTIME_NAME(X)
441
+ # endif
442
+ #endif
443
+ #if !defined(SWIFT_COMPILE_NAME)
444
+ # if __has_attribute(swift_name)
445
+ # define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
446
+ # else
447
+ # define SWIFT_COMPILE_NAME(X)
448
+ # endif
449
+ #endif
450
+ #if !defined(SWIFT_METHOD_FAMILY)
451
+ # if __has_attribute(objc_method_family)
452
+ # define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
453
+ # else
454
+ # define SWIFT_METHOD_FAMILY(X)
455
+ # endif
456
+ #endif
457
+ #if !defined(SWIFT_NOESCAPE)
458
+ # if __has_attribute(noescape)
459
+ # define SWIFT_NOESCAPE __attribute__((noescape))
460
+ # else
461
+ # define SWIFT_NOESCAPE
462
+ # endif
463
+ #endif
464
+ #if !defined(SWIFT_RELEASES_ARGUMENT)
465
+ # if __has_attribute(ns_consumed)
466
+ # define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
467
+ # else
468
+ # define SWIFT_RELEASES_ARGUMENT
469
+ # endif
470
+ #endif
471
+ #if !defined(SWIFT_WARN_UNUSED_RESULT)
472
+ # if __has_attribute(warn_unused_result)
473
+ # define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
474
+ # else
475
+ # define SWIFT_WARN_UNUSED_RESULT
476
+ # endif
477
+ #endif
478
+ #if !defined(SWIFT_NORETURN)
479
+ # if __has_attribute(noreturn)
480
+ # define SWIFT_NORETURN __attribute__((noreturn))
481
+ # else
482
+ # define SWIFT_NORETURN
483
+ # endif
484
+ #endif
485
+ #if !defined(SWIFT_CLASS_EXTRA)
486
+ # define SWIFT_CLASS_EXTRA
487
+ #endif
488
+ #if !defined(SWIFT_PROTOCOL_EXTRA)
489
+ # define SWIFT_PROTOCOL_EXTRA
490
+ #endif
491
+ #if !defined(SWIFT_ENUM_EXTRA)
492
+ # define SWIFT_ENUM_EXTRA
493
+ #endif
494
+ #if !defined(SWIFT_CLASS)
495
+ # if __has_attribute(objc_subclassing_restricted)
496
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
497
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
498
+ # else
499
+ # define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
500
+ # define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
501
+ # endif
502
+ #endif
503
+ #if !defined(SWIFT_RESILIENT_CLASS)
504
+ # if __has_attribute(objc_class_stub)
505
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
506
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
507
+ # else
508
+ # define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
509
+ # define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
510
+ # endif
511
+ #endif
512
+ #if !defined(SWIFT_PROTOCOL)
513
+ # define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
514
+ # define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
515
+ #endif
516
+ #if !defined(SWIFT_EXTENSION)
517
+ # define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
518
+ #endif
519
+ #if !defined(OBJC_DESIGNATED_INITIALIZER)
520
+ # if __has_attribute(objc_designated_initializer)
521
+ # define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
522
+ # else
523
+ # define OBJC_DESIGNATED_INITIALIZER
524
+ # endif
525
+ #endif
526
+ #if !defined(SWIFT_ENUM_ATTR)
527
+ # if __has_attribute(enum_extensibility)
528
+ # define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
529
+ # else
530
+ # define SWIFT_ENUM_ATTR(_extensibility)
531
+ # endif
532
+ #endif
533
+ #if !defined(SWIFT_ENUM)
534
+ # define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
535
+ # if __has_feature(generalized_swift_name)
536
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
537
+ # else
538
+ # define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
539
+ # endif
540
+ #endif
541
+ #if !defined(SWIFT_UNAVAILABLE)
542
+ # define SWIFT_UNAVAILABLE __attribute__((unavailable))
543
+ #endif
544
+ #if !defined(SWIFT_UNAVAILABLE_MSG)
545
+ # define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
546
+ #endif
547
+ #if !defined(SWIFT_AVAILABILITY)
548
+ # define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
549
+ #endif
550
+ #if !defined(SWIFT_WEAK_IMPORT)
551
+ # define SWIFT_WEAK_IMPORT __attribute__((weak_import))
552
+ #endif
553
+ #if !defined(SWIFT_DEPRECATED)
554
+ # define SWIFT_DEPRECATED __attribute__((deprecated))
555
+ #endif
556
+ #if !defined(SWIFT_DEPRECATED_MSG)
557
+ # define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
558
+ #endif
559
+ #if !defined(SWIFT_DEPRECATED_OBJC)
560
+ # if __has_feature(attribute_diagnose_if_objc)
561
+ # define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
562
+ # else
563
+ # define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
564
+ # endif
565
+ #endif
566
+ #if defined(__OBJC__)
567
+ #if !defined(IBSegueAction)
568
+ # define IBSegueAction
569
+ #endif
570
+ #endif
571
+ #if !defined(SWIFT_EXTERN)
572
+ # if defined(__cplusplus)
573
+ # define SWIFT_EXTERN extern "C"
574
+ # else
575
+ # define SWIFT_EXTERN extern
576
+ # endif
577
+ #endif
578
+ #if !defined(SWIFT_CALL)
579
+ # define SWIFT_CALL __attribute__((swiftcall))
580
+ #endif
581
+ #if !defined(SWIFT_INDIRECT_RESULT)
582
+ # define SWIFT_INDIRECT_RESULT __attribute__((swift_indirect_result))
583
+ #endif
584
+ #if !defined(SWIFT_CONTEXT)
585
+ # define SWIFT_CONTEXT __attribute__((swift_context))
586
+ #endif
587
+ #if !defined(SWIFT_ERROR_RESULT)
588
+ # define SWIFT_ERROR_RESULT __attribute__((swift_error_result))
589
+ #endif
590
+ #if defined(__cplusplus)
591
+ # define SWIFT_NOEXCEPT noexcept
592
+ #else
593
+ # define SWIFT_NOEXCEPT
594
+ #endif
595
+ #if !defined(SWIFT_C_INLINE_THUNK)
596
+ # if __has_attribute(always_inline)
597
+ # if __has_attribute(nodebug)
598
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline)) __attribute__((nodebug))
599
+ # else
600
+ # define SWIFT_C_INLINE_THUNK inline __attribute__((always_inline))
601
+ # endif
602
+ # else
603
+ # define SWIFT_C_INLINE_THUNK inline
604
+ # endif
605
+ #endif
606
+ #if defined(_WIN32)
607
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
608
+ # define SWIFT_IMPORT_STDLIB_SYMBOL __declspec(dllimport)
609
+ #endif
610
+ #else
611
+ #if !defined(SWIFT_IMPORT_STDLIB_SYMBOL)
612
+ # define SWIFT_IMPORT_STDLIB_SYMBOL
613
+ #endif
614
+ #endif
615
+ #if defined(__OBJC__)
616
+ #if __has_feature(objc_modules)
617
+ #if __has_warning("-Watimport-in-framework-header")
618
+ #pragma clang diagnostic ignored "-Watimport-in-framework-header"
619
+ #endif
620
+ @import Foundation;
621
+ @import ObjectiveC;
622
+ @import StoreKit;
623
+ #endif
624
+
625
+ #endif
626
+ #pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
627
+ #pragma clang diagnostic ignored "-Wduplicate-method-arg"
628
+ #if __has_warning("-Wpragma-clang-attribute")
629
+ # pragma clang diagnostic ignored "-Wpragma-clang-attribute"
630
+ #endif
631
+ #pragma clang diagnostic ignored "-Wunknown-pragmas"
632
+ #pragma clang diagnostic ignored "-Wnullability"
633
+ #pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
634
+ #pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
635
+
636
+ #if __has_attribute(external_source_symbol)
637
+ # pragma push_macro("any")
638
+ # undef any
639
+ # pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="PNLight",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
640
+ # pragma pop_macro("any")
641
+ #endif
642
+
643
+ #if defined(__OBJC__)
644
+
645
+ SWIFT_CLASS("_TtC7PNLight10PNLightSDK")
646
+ @interface PNLightSDK : NSObject
647
+ - (nonnull instancetype)init SWIFT_UNAVAILABLE;
648
+ + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
649
+ @end
650
+
651
+
652
+
653
+ @class SKPaymentQueue;
654
+ @class SKPaymentTransaction;
655
+
656
+ @interface PNLightSDK (SWIFT_EXTENSION(PNLight)) <SKPaymentTransactionObserver>
657
+ - (void)paymentQueue:(SKPaymentQueue * _Nonnull)queue updatedTransactions:(NSArray<SKPaymentTransaction *> * _Nonnull)transactions;
658
+ @end
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+ #endif
668
+ #if __has_attribute(external_source_symbol)
669
+ # pragma clang attribute pop
670
+ #endif
671
+ #if defined(__cplusplus)
672
+ #endif
673
+ #pragma clang diagnostic pop
674
+ #endif
675
+
676
+ #else
677
+ #error unsupported Swift architecture
678
+ #endif