@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.
- package/PNLight.xcframework/Info.plist +44 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Headers/PNLight-Swift.h +341 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.abi.json +625 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.private.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/Modules/module.modulemap +4 -0
- package/PNLight.xcframework/ios-arm64/PNLight.framework/PNLight +0 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Headers/PNLight-Swift.h +678 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.abi.json +625 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/arm64-apple-ios-simulator.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.abi.json +625 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/PNLight.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +39 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/Modules/module.modulemap +4 -0
- package/PNLight.xcframework/ios-arm64_x86_64-simulator/PNLight.framework/PNLight +0 -0
- package/PNLightSDK.podspec +20 -0
- package/index.d.ts +3 -0
- package/index.js +14 -0
- package/ios/PNLightSDK.m +10 -0
- package/ios/PNLightSDK.swift +19 -0
- package/package.json +28 -0
|
@@ -0,0 +1,625 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ABIRoot": {
|
|
3
|
+
"kind": "Root",
|
|
4
|
+
"name": "PNLight",
|
|
5
|
+
"printedName": "PNLight",
|
|
6
|
+
"children": [
|
|
7
|
+
{
|
|
8
|
+
"kind": "Import",
|
|
9
|
+
"name": "Foundation",
|
|
10
|
+
"printedName": "Foundation",
|
|
11
|
+
"declKind": "Import",
|
|
12
|
+
"moduleName": "PNLight"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"kind": "Import",
|
|
16
|
+
"name": "os",
|
|
17
|
+
"printedName": "os",
|
|
18
|
+
"declKind": "Import",
|
|
19
|
+
"moduleName": "PNLight"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"kind": "Import",
|
|
23
|
+
"name": "CoreMotion",
|
|
24
|
+
"printedName": "CoreMotion",
|
|
25
|
+
"declKind": "Import",
|
|
26
|
+
"moduleName": "PNLight"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"kind": "Import",
|
|
30
|
+
"name": "Foundation",
|
|
31
|
+
"printedName": "Foundation",
|
|
32
|
+
"declKind": "Import",
|
|
33
|
+
"moduleName": "PNLight"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "Import",
|
|
37
|
+
"name": "UIKit",
|
|
38
|
+
"printedName": "UIKit",
|
|
39
|
+
"declKind": "Import",
|
|
40
|
+
"moduleName": "PNLight"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "Import",
|
|
44
|
+
"name": "Foundation",
|
|
45
|
+
"printedName": "Foundation",
|
|
46
|
+
"declKind": "Import",
|
|
47
|
+
"moduleName": "PNLight"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"kind": "Import",
|
|
51
|
+
"name": "os",
|
|
52
|
+
"printedName": "os",
|
|
53
|
+
"declKind": "Import",
|
|
54
|
+
"moduleName": "PNLight"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"kind": "Import",
|
|
58
|
+
"name": "StoreKit",
|
|
59
|
+
"printedName": "StoreKit",
|
|
60
|
+
"declKind": "Import",
|
|
61
|
+
"moduleName": "PNLight"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "Import",
|
|
65
|
+
"name": "UIKit",
|
|
66
|
+
"printedName": "UIKit",
|
|
67
|
+
"declKind": "Import",
|
|
68
|
+
"moduleName": "PNLight"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"kind": "Import",
|
|
72
|
+
"name": "Foundation",
|
|
73
|
+
"printedName": "Foundation",
|
|
74
|
+
"declKind": "Import",
|
|
75
|
+
"moduleName": "PNLight"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"kind": "Import",
|
|
79
|
+
"name": "os",
|
|
80
|
+
"printedName": "os",
|
|
81
|
+
"declKind": "Import",
|
|
82
|
+
"moduleName": "PNLight"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"kind": "Import",
|
|
86
|
+
"name": "StoreKit",
|
|
87
|
+
"printedName": "StoreKit",
|
|
88
|
+
"declKind": "Import",
|
|
89
|
+
"moduleName": "PNLight"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "Import",
|
|
93
|
+
"name": "UIKit",
|
|
94
|
+
"printedName": "UIKit",
|
|
95
|
+
"declKind": "Import",
|
|
96
|
+
"moduleName": "PNLight"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "Import",
|
|
100
|
+
"name": "Foundation",
|
|
101
|
+
"printedName": "Foundation",
|
|
102
|
+
"declKind": "Import",
|
|
103
|
+
"moduleName": "PNLight"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"kind": "Import",
|
|
107
|
+
"name": "AdSupport",
|
|
108
|
+
"printedName": "AdSupport",
|
|
109
|
+
"declKind": "Import",
|
|
110
|
+
"moduleName": "PNLight"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "Import",
|
|
114
|
+
"name": "AppTrackingTransparency",
|
|
115
|
+
"printedName": "AppTrackingTransparency",
|
|
116
|
+
"declKind": "Import",
|
|
117
|
+
"moduleName": "PNLight"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"kind": "Import",
|
|
121
|
+
"name": "Foundation",
|
|
122
|
+
"printedName": "Foundation",
|
|
123
|
+
"declKind": "Import",
|
|
124
|
+
"moduleName": "PNLight"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"kind": "Import",
|
|
128
|
+
"name": "os",
|
|
129
|
+
"printedName": "os",
|
|
130
|
+
"declKind": "Import",
|
|
131
|
+
"moduleName": "PNLight"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"kind": "Import",
|
|
135
|
+
"name": "Foundation",
|
|
136
|
+
"printedName": "Foundation",
|
|
137
|
+
"declKind": "Import",
|
|
138
|
+
"moduleName": "PNLight"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"kind": "Import",
|
|
142
|
+
"name": "Foundation",
|
|
143
|
+
"printedName": "Foundation",
|
|
144
|
+
"declKind": "Import",
|
|
145
|
+
"moduleName": "PNLight"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"kind": "Import",
|
|
149
|
+
"name": "UIKit",
|
|
150
|
+
"printedName": "UIKit",
|
|
151
|
+
"declKind": "Import",
|
|
152
|
+
"moduleName": "PNLight"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "Import",
|
|
156
|
+
"name": "CoreMotion",
|
|
157
|
+
"printedName": "CoreMotion",
|
|
158
|
+
"declKind": "Import",
|
|
159
|
+
"moduleName": "PNLight"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"kind": "Import",
|
|
163
|
+
"name": "Foundation",
|
|
164
|
+
"printedName": "Foundation",
|
|
165
|
+
"declKind": "Import",
|
|
166
|
+
"moduleName": "PNLight"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "Import",
|
|
170
|
+
"name": "Security",
|
|
171
|
+
"printedName": "Security",
|
|
172
|
+
"declKind": "Import",
|
|
173
|
+
"moduleName": "PNLight"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"kind": "Import",
|
|
177
|
+
"name": "Foundation",
|
|
178
|
+
"printedName": "Foundation",
|
|
179
|
+
"declKind": "Import",
|
|
180
|
+
"moduleName": "PNLight"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"kind": "Import",
|
|
184
|
+
"name": "StoreKit",
|
|
185
|
+
"printedName": "StoreKit",
|
|
186
|
+
"declKind": "Import",
|
|
187
|
+
"moduleName": "PNLight"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "Import",
|
|
191
|
+
"name": "os",
|
|
192
|
+
"printedName": "os",
|
|
193
|
+
"declKind": "Import",
|
|
194
|
+
"moduleName": "PNLight"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"kind": "Import",
|
|
198
|
+
"name": "CoreMotion",
|
|
199
|
+
"printedName": "CoreMotion",
|
|
200
|
+
"declKind": "Import",
|
|
201
|
+
"moduleName": "PNLight"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "TypeDecl",
|
|
205
|
+
"name": "PNLightSDK",
|
|
206
|
+
"printedName": "PNLightSDK",
|
|
207
|
+
"children": [
|
|
208
|
+
{
|
|
209
|
+
"kind": "Var",
|
|
210
|
+
"name": "shared",
|
|
211
|
+
"printedName": "shared",
|
|
212
|
+
"children": [
|
|
213
|
+
{
|
|
214
|
+
"kind": "TypeNominal",
|
|
215
|
+
"name": "PNLightSDK",
|
|
216
|
+
"printedName": "PNLight.PNLightSDK",
|
|
217
|
+
"usr": "c:@M@PNLight@objc(cs)PNLightSDK"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"declKind": "Var",
|
|
221
|
+
"usr": "s:7PNLight0A3SDKC6sharedACvpZ",
|
|
222
|
+
"mangledName": "$s7PNLight0A3SDKC6sharedACvpZ",
|
|
223
|
+
"moduleName": "PNLight",
|
|
224
|
+
"static": true,
|
|
225
|
+
"declAttributes": [
|
|
226
|
+
"HasInitialValue",
|
|
227
|
+
"Final",
|
|
228
|
+
"HasStorage",
|
|
229
|
+
"AccessControl"
|
|
230
|
+
],
|
|
231
|
+
"isLet": true,
|
|
232
|
+
"hasStorage": true,
|
|
233
|
+
"accessors": [
|
|
234
|
+
{
|
|
235
|
+
"kind": "Accessor",
|
|
236
|
+
"name": "Get",
|
|
237
|
+
"printedName": "Get()",
|
|
238
|
+
"children": [
|
|
239
|
+
{
|
|
240
|
+
"kind": "TypeNominal",
|
|
241
|
+
"name": "PNLightSDK",
|
|
242
|
+
"printedName": "PNLight.PNLightSDK",
|
|
243
|
+
"usr": "c:@M@PNLight@objc(cs)PNLightSDK"
|
|
244
|
+
}
|
|
245
|
+
],
|
|
246
|
+
"declKind": "Accessor",
|
|
247
|
+
"usr": "s:7PNLight0A3SDKC6sharedACvgZ",
|
|
248
|
+
"mangledName": "$s7PNLight0A3SDKC6sharedACvgZ",
|
|
249
|
+
"moduleName": "PNLight",
|
|
250
|
+
"static": true,
|
|
251
|
+
"implicit": true,
|
|
252
|
+
"declAttributes": [
|
|
253
|
+
"Final"
|
|
254
|
+
],
|
|
255
|
+
"accessorKind": "get"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"kind": "Function",
|
|
261
|
+
"name": "initialize",
|
|
262
|
+
"printedName": "initialize(apiKey:)",
|
|
263
|
+
"children": [
|
|
264
|
+
{
|
|
265
|
+
"kind": "TypeNominal",
|
|
266
|
+
"name": "Void",
|
|
267
|
+
"printedName": "()"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"kind": "TypeNominal",
|
|
271
|
+
"name": "String",
|
|
272
|
+
"printedName": "Swift.String",
|
|
273
|
+
"usr": "s:SS"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"declKind": "Func",
|
|
277
|
+
"usr": "s:7PNLight0A3SDKC10initialize6apiKeyySS_tYaF",
|
|
278
|
+
"mangledName": "$s7PNLight0A3SDKC10initialize6apiKeyySS_tYaF",
|
|
279
|
+
"moduleName": "PNLight",
|
|
280
|
+
"declAttributes": [
|
|
281
|
+
"Final",
|
|
282
|
+
"AccessControl"
|
|
283
|
+
],
|
|
284
|
+
"funcSelfKind": "NonMutating"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"kind": "Function",
|
|
288
|
+
"name": "logEvent",
|
|
289
|
+
"printedName": "logEvent(_:eventArgs:)",
|
|
290
|
+
"children": [
|
|
291
|
+
{
|
|
292
|
+
"kind": "TypeNominal",
|
|
293
|
+
"name": "Void",
|
|
294
|
+
"printedName": "()"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"kind": "TypeNominal",
|
|
298
|
+
"name": "String",
|
|
299
|
+
"printedName": "Swift.String",
|
|
300
|
+
"usr": "s:SS"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"kind": "TypeNominal",
|
|
304
|
+
"name": "Optional",
|
|
305
|
+
"printedName": "[Swift.String : Any]?",
|
|
306
|
+
"children": [
|
|
307
|
+
{
|
|
308
|
+
"kind": "TypeNominal",
|
|
309
|
+
"name": "Dictionary",
|
|
310
|
+
"printedName": "[Swift.String : Any]",
|
|
311
|
+
"children": [
|
|
312
|
+
{
|
|
313
|
+
"kind": "TypeNominal",
|
|
314
|
+
"name": "String",
|
|
315
|
+
"printedName": "Swift.String",
|
|
316
|
+
"usr": "s:SS"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"kind": "TypeNominal",
|
|
320
|
+
"name": "ProtocolComposition",
|
|
321
|
+
"printedName": "Any"
|
|
322
|
+
}
|
|
323
|
+
],
|
|
324
|
+
"usr": "s:SD"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"hasDefaultArg": true,
|
|
328
|
+
"usr": "s:Sq"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"declKind": "Func",
|
|
332
|
+
"usr": "s:7PNLight0A3SDKC8logEvent_9eventArgsySS_SDySSypGSgtYaF",
|
|
333
|
+
"mangledName": "$s7PNLight0A3SDKC8logEvent_9eventArgsySS_SDySSypGSgtYaF",
|
|
334
|
+
"moduleName": "PNLight",
|
|
335
|
+
"declAttributes": [
|
|
336
|
+
"Final",
|
|
337
|
+
"AccessControl",
|
|
338
|
+
"RawDocComment"
|
|
339
|
+
],
|
|
340
|
+
"isFromExtension": true,
|
|
341
|
+
"funcSelfKind": "NonMutating"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"kind": "Function",
|
|
345
|
+
"name": "getIdfa",
|
|
346
|
+
"printedName": "getIdfa()",
|
|
347
|
+
"children": [
|
|
348
|
+
{
|
|
349
|
+
"kind": "TypeNominal",
|
|
350
|
+
"name": "Optional",
|
|
351
|
+
"printedName": "Swift.String?",
|
|
352
|
+
"children": [
|
|
353
|
+
{
|
|
354
|
+
"kind": "TypeNominal",
|
|
355
|
+
"name": "String",
|
|
356
|
+
"printedName": "Swift.String",
|
|
357
|
+
"usr": "s:SS"
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"usr": "s:Sq"
|
|
361
|
+
}
|
|
362
|
+
],
|
|
363
|
+
"declKind": "Func",
|
|
364
|
+
"usr": "s:7PNLight0A3SDKC7getIdfaSSSgyF",
|
|
365
|
+
"mangledName": "$s7PNLight0A3SDKC7getIdfaSSSgyF",
|
|
366
|
+
"moduleName": "PNLight",
|
|
367
|
+
"declAttributes": [
|
|
368
|
+
"Final",
|
|
369
|
+
"AccessControl",
|
|
370
|
+
"RawDocComment"
|
|
371
|
+
],
|
|
372
|
+
"isFromExtension": true,
|
|
373
|
+
"funcSelfKind": "NonMutating"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"kind": "Function",
|
|
377
|
+
"name": "onPurchased",
|
|
378
|
+
"printedName": "onPurchased()",
|
|
379
|
+
"children": [
|
|
380
|
+
{
|
|
381
|
+
"kind": "TypeNominal",
|
|
382
|
+
"name": "Void",
|
|
383
|
+
"printedName": "()"
|
|
384
|
+
}
|
|
385
|
+
],
|
|
386
|
+
"declKind": "Func",
|
|
387
|
+
"usr": "s:7PNLight0A3SDKC11onPurchasedyyYaF",
|
|
388
|
+
"mangledName": "$s7PNLight0A3SDKC11onPurchasedyyYaF",
|
|
389
|
+
"moduleName": "PNLight",
|
|
390
|
+
"declAttributes": [
|
|
391
|
+
"Final",
|
|
392
|
+
"AccessControl",
|
|
393
|
+
"RawDocComment"
|
|
394
|
+
],
|
|
395
|
+
"isFromExtension": true,
|
|
396
|
+
"funcSelfKind": "NonMutating"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"kind": "Function",
|
|
400
|
+
"name": "validatePurchase",
|
|
401
|
+
"printedName": "validatePurchase()",
|
|
402
|
+
"children": [
|
|
403
|
+
{
|
|
404
|
+
"kind": "TypeNominal",
|
|
405
|
+
"name": "Bool",
|
|
406
|
+
"printedName": "Swift.Bool",
|
|
407
|
+
"usr": "s:Sb"
|
|
408
|
+
}
|
|
409
|
+
],
|
|
410
|
+
"declKind": "Func",
|
|
411
|
+
"usr": "s:7PNLight0A3SDKC16validatePurchaseSbyYaF",
|
|
412
|
+
"mangledName": "$s7PNLight0A3SDKC16validatePurchaseSbyYaF",
|
|
413
|
+
"moduleName": "PNLight",
|
|
414
|
+
"declAttributes": [
|
|
415
|
+
"Final",
|
|
416
|
+
"AccessControl",
|
|
417
|
+
"RawDocComment"
|
|
418
|
+
],
|
|
419
|
+
"isFromExtension": true,
|
|
420
|
+
"funcSelfKind": "NonMutating"
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "Function",
|
|
424
|
+
"name": "getOrCreateUserId",
|
|
425
|
+
"printedName": "getOrCreateUserId()",
|
|
426
|
+
"children": [
|
|
427
|
+
{
|
|
428
|
+
"kind": "TypeNominal",
|
|
429
|
+
"name": "Tuple",
|
|
430
|
+
"printedName": "(id: Swift.String, isNew: Swift.Bool)",
|
|
431
|
+
"children": [
|
|
432
|
+
{
|
|
433
|
+
"kind": "TypeNominal",
|
|
434
|
+
"name": "String",
|
|
435
|
+
"printedName": "Swift.String",
|
|
436
|
+
"usr": "s:SS"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "TypeNominal",
|
|
440
|
+
"name": "Bool",
|
|
441
|
+
"printedName": "Swift.Bool",
|
|
442
|
+
"usr": "s:Sb"
|
|
443
|
+
}
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
"declKind": "Func",
|
|
448
|
+
"usr": "s:7PNLight0A3SDKC17getOrCreateUserIdSS2id_Sb5isNewtyF",
|
|
449
|
+
"mangledName": "$s7PNLight0A3SDKC17getOrCreateUserIdSS2id_Sb5isNewtyF",
|
|
450
|
+
"moduleName": "PNLight",
|
|
451
|
+
"declAttributes": [
|
|
452
|
+
"Final",
|
|
453
|
+
"AccessControl",
|
|
454
|
+
"RawDocComment"
|
|
455
|
+
],
|
|
456
|
+
"isFromExtension": true,
|
|
457
|
+
"funcSelfKind": "NonMutating"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"kind": "Function",
|
|
461
|
+
"name": "paymentQueue",
|
|
462
|
+
"printedName": "paymentQueue(_:updatedTransactions:)",
|
|
463
|
+
"children": [
|
|
464
|
+
{
|
|
465
|
+
"kind": "TypeNominal",
|
|
466
|
+
"name": "Void",
|
|
467
|
+
"printedName": "()"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"kind": "TypeNominal",
|
|
471
|
+
"name": "SKPaymentQueue",
|
|
472
|
+
"printedName": "StoreKit.SKPaymentQueue",
|
|
473
|
+
"usr": "c:objc(cs)SKPaymentQueue"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"kind": "TypeNominal",
|
|
477
|
+
"name": "Array",
|
|
478
|
+
"printedName": "[StoreKit.SKPaymentTransaction]",
|
|
479
|
+
"children": [
|
|
480
|
+
{
|
|
481
|
+
"kind": "TypeNominal",
|
|
482
|
+
"name": "SKPaymentTransaction",
|
|
483
|
+
"printedName": "StoreKit.SKPaymentTransaction",
|
|
484
|
+
"usr": "c:objc(cs)SKPaymentTransaction"
|
|
485
|
+
}
|
|
486
|
+
],
|
|
487
|
+
"usr": "s:Sa"
|
|
488
|
+
}
|
|
489
|
+
],
|
|
490
|
+
"declKind": "Func",
|
|
491
|
+
"usr": "c:@CM@PNLight@objc(cs)PNLightSDK(im)paymentQueue:updatedTransactions:",
|
|
492
|
+
"mangledName": "$s7PNLight0A3SDKC12paymentQueue_19updatedTransactionsySo09SKPaymentD0C_SaySo0G11TransactionCGtF",
|
|
493
|
+
"moduleName": "PNLight",
|
|
494
|
+
"objc_name": "paymentQueue:updatedTransactions:",
|
|
495
|
+
"declAttributes": [
|
|
496
|
+
"Final",
|
|
497
|
+
"ObjC",
|
|
498
|
+
"AccessControl"
|
|
499
|
+
],
|
|
500
|
+
"isFromExtension": true,
|
|
501
|
+
"funcSelfKind": "NonMutating"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"declKind": "Class",
|
|
505
|
+
"usr": "c:@M@PNLight@objc(cs)PNLightSDK",
|
|
506
|
+
"mangledName": "$s7PNLight0A3SDKC",
|
|
507
|
+
"moduleName": "PNLight",
|
|
508
|
+
"declAttributes": [
|
|
509
|
+
"Final",
|
|
510
|
+
"AccessControl",
|
|
511
|
+
"ObjC"
|
|
512
|
+
],
|
|
513
|
+
"superclassUsr": "c:objc(cs)NSObject",
|
|
514
|
+
"hasMissingDesignatedInitializers": true,
|
|
515
|
+
"inheritsConvenienceInitializers": true,
|
|
516
|
+
"superclassNames": [
|
|
517
|
+
"ObjectiveC.NSObject"
|
|
518
|
+
],
|
|
519
|
+
"conformances": [
|
|
520
|
+
{
|
|
521
|
+
"kind": "Conformance",
|
|
522
|
+
"name": "Copyable",
|
|
523
|
+
"printedName": "Copyable",
|
|
524
|
+
"usr": "s:s8CopyableP",
|
|
525
|
+
"mangledName": "$ss8CopyableP"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"kind": "Conformance",
|
|
529
|
+
"name": "Escapable",
|
|
530
|
+
"printedName": "Escapable",
|
|
531
|
+
"usr": "s:s9EscapableP",
|
|
532
|
+
"mangledName": "$ss9EscapableP"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"kind": "Conformance",
|
|
536
|
+
"name": "Equatable",
|
|
537
|
+
"printedName": "Equatable",
|
|
538
|
+
"usr": "s:SQ",
|
|
539
|
+
"mangledName": "$sSQ"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"kind": "Conformance",
|
|
543
|
+
"name": "Hashable",
|
|
544
|
+
"printedName": "Hashable",
|
|
545
|
+
"usr": "s:SH",
|
|
546
|
+
"mangledName": "$sSH"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"kind": "Conformance",
|
|
550
|
+
"name": "CVarArg",
|
|
551
|
+
"printedName": "CVarArg",
|
|
552
|
+
"usr": "s:s7CVarArgP",
|
|
553
|
+
"mangledName": "$ss7CVarArgP"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"kind": "Conformance",
|
|
557
|
+
"name": "_KeyValueCodingAndObservingPublishing",
|
|
558
|
+
"printedName": "_KeyValueCodingAndObservingPublishing",
|
|
559
|
+
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
|
|
560
|
+
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"kind": "Conformance",
|
|
564
|
+
"name": "_KeyValueCodingAndObserving",
|
|
565
|
+
"printedName": "_KeyValueCodingAndObserving",
|
|
566
|
+
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
|
|
567
|
+
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"kind": "Conformance",
|
|
571
|
+
"name": "CustomStringConvertible",
|
|
572
|
+
"printedName": "CustomStringConvertible",
|
|
573
|
+
"usr": "s:s23CustomStringConvertibleP",
|
|
574
|
+
"mangledName": "$ss23CustomStringConvertibleP"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"kind": "Conformance",
|
|
578
|
+
"name": "CustomDebugStringConvertible",
|
|
579
|
+
"printedName": "CustomDebugStringConvertible",
|
|
580
|
+
"usr": "s:s28CustomDebugStringConvertibleP",
|
|
581
|
+
"mangledName": "$ss28CustomDebugStringConvertibleP"
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"json_format_version": 8
|
|
587
|
+
},
|
|
588
|
+
"ConstValues": [
|
|
589
|
+
{
|
|
590
|
+
"filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
|
|
591
|
+
"kind": "StringLiteral",
|
|
592
|
+
"offset": 502,
|
|
593
|
+
"length": 17,
|
|
594
|
+
"value": "\"app.pnlight.sdk\""
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
|
|
598
|
+
"kind": "StringLiteral",
|
|
599
|
+
"offset": 531,
|
|
600
|
+
"length": 6,
|
|
601
|
+
"value": "\"main\""
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
|
|
605
|
+
"kind": "IntegerLiteral",
|
|
606
|
+
"offset": 671,
|
|
607
|
+
"length": 2,
|
|
608
|
+
"value": "15"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
|
|
612
|
+
"kind": "IntegerLiteral",
|
|
613
|
+
"offset": 715,
|
|
614
|
+
"length": 2,
|
|
615
|
+
"value": "30"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"filePath": "\/Users\/kirillzaidulin\/Documents\/work\/pnlight-sdk\/Sources\/PNLight\/PNLight.swift",
|
|
619
|
+
"kind": "Array",
|
|
620
|
+
"offset": 1014,
|
|
621
|
+
"length": 2,
|
|
622
|
+
"value": "[]"
|
|
623
|
+
}
|
|
624
|
+
]
|
|
625
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// swift-interface-format-version: 1.0
|
|
2
|
+
// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
|
|
3
|
+
// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name PNLight
|
|
4
|
+
// swift-module-flags-ignorable: -no-verify-emitted-module-interface
|
|
5
|
+
import AdSupport
|
|
6
|
+
import AppTrackingTransparency
|
|
7
|
+
import CoreMotion
|
|
8
|
+
import Foundation
|
|
9
|
+
import Security
|
|
10
|
+
import StoreKit
|
|
11
|
+
import Swift
|
|
12
|
+
import UIKit
|
|
13
|
+
import _Concurrency
|
|
14
|
+
import _StringProcessing
|
|
15
|
+
import _SwiftConcurrencyShims
|
|
16
|
+
import os
|
|
17
|
+
extension PNLight.PNLightSDK {
|
|
18
|
+
final public func logEvent(_ eventName: Swift.String, eventArgs: [Swift.String : Any]? = nil) async
|
|
19
|
+
}
|
|
20
|
+
extension PNLight.PNLightSDK {
|
|
21
|
+
final public func getIdfa() -> Swift.String?
|
|
22
|
+
}
|
|
23
|
+
extension PNLight.PNLightSDK {
|
|
24
|
+
final public func onPurchased() async
|
|
25
|
+
}
|
|
26
|
+
extension PNLight.PNLightSDK {
|
|
27
|
+
final public func validatePurchase() async -> Swift.Bool
|
|
28
|
+
}
|
|
29
|
+
extension PNLight.PNLightSDK {
|
|
30
|
+
final public func getOrCreateUserId() -> (id: Swift.String, isNew: Swift.Bool)
|
|
31
|
+
}
|
|
32
|
+
@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class PNLightSDK : ObjectiveC.NSObject {
|
|
33
|
+
public static let shared: PNLight.PNLightSDK
|
|
34
|
+
final public func initialize(apiKey: Swift.String) async
|
|
35
|
+
@objc deinit
|
|
36
|
+
}
|
|
37
|
+
extension PNLight.PNLightSDK : StoreKit.SKPaymentTransactionObserver {
|
|
38
|
+
@objc final public func paymentQueue(_ queue: StoreKit.SKPaymentQueue, updatedTransactions transactions: [StoreKit.SKPaymentTransaction])
|
|
39
|
+
}
|