Socket
Socket
Sign inDemoInstall

@thegrizzlylabs/cordova-plugin-genius-scan

Package Overview
Dependencies
0
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.16.0 to 4.17.0

src/ios/GSSDK/GSSDKScanFlow.xcframework/ios-arm64_x86_64-simulator/GSSDKScanFlow.framework/Headers/GSKScanFlowConfiguration+Dictionary.h

2

package.json
{
"name": "@thegrizzlylabs/cordova-plugin-genius-scan",
"version": "4.16.0",
"version": "4.17.0",
"description": "Cordova Plugin for Genius Scan SDK",

@@ -5,0 +5,0 @@ "author": "TheGrizzlyLabs <sdk@thegrizzlylabs.com> (https://www.thegrizzlylabs.com/)",

@@ -12,8 +12,292 @@ {

"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "TypeDecl",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSKLicenseKeyRefresher",
"children": [
{
"kind": "Var",
"name": "licenseKey",
"printedName": "licenseKey",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Var",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(py)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvp",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Accessor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvg",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"ObjC"
],
"accessorKind": "get"
}
]
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init(baseLicenseKey:)",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)initWithBaseLicenseKey:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC011baseLicenseC0ACSS_tcfc",
"moduleName": "GSSDKCore",
"objc_name": "initWithBaseLicenseKey:",
"declAttributes": [
"Convenience",
"AccessControl",
"ObjC",
"RawDocComment"
],
"init_kind": "Convenience"
},
{
"kind": "Function",
"name": "refreshLicenseKey",
"printedName": "refreshLicenseKey(onSuccess:onFailure:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Error, Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Tuple",
"printedName": "(Swift.Error, Swift.String)",
"children": [
{
"kind": "TypeNominal",
"name": "Error",
"printedName": "Swift.Error",
"usr": "s:s5ErrorP"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
}
]
}
],
"declKind": "Func",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)refreshLicenseKeyOnSuccess:onFailure:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC014refreshLicenseC09onSuccess0G7FailureyySSc_ys5Error_p_SStctF",
"moduleName": "GSSDKCore",
"objc_name": "refreshLicenseKeyOnSuccess:onFailure:",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init()",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)init",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherCACycfc",
"moduleName": "GSSDKCore",
"overriding": true,
"implicit": true,
"objc_name": "init",
"declAttributes": [
"Dynamic",
"ObjC",
"Override"
],
"init_kind": "Designated"
}
],
"declKind": "Class",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"superclassUsr": "c:objc(cs)NSObject",
"hasMissingDesignatedInitializers": true,
"superclassNames": [
"ObjectiveC.NSObject"
],
"conformances": [
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable",
"usr": "s:SQ",
"mangledName": "$sSQ"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable",
"usr": "s:SH",
"mangledName": "$sSH"
},
{
"kind": "Conformance",
"name": "CVarArg",
"printedName": "CVarArg",
"usr": "s:s7CVarArgP",
"mangledName": "$ss7CVarArgP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObservingPublishing",
"printedName": "_KeyValueCodingAndObservingPublishing",
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObserving",
"printedName": "_KeyValueCodingAndObserving",
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
},
{
"kind": "Conformance",
"name": "CustomStringConvertible",
"printedName": "CustomStringConvertible",
"usr": "s:s23CustomStringConvertibleP",
"mangledName": "$ss23CustomStringConvertibleP"
},
{
"kind": "Conformance",
"name": "CustomDebugStringConvertible",
"printedName": "CustomDebugStringConvertible",
"usr": "s:s28CustomDebugStringConvertibleP",
"mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "TypeDecl",

@@ -753,2 +1037,366 @@ "name": "GSKDocumentGenerator",

{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 894,
"length": 28,
"value": "\"https:\/\/sdk.geniusscan.com\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1701,
"length": 3,
"value": "200"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1707,
"length": 3,
"value": "299"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2495,
"length": 32,
"value": "\"\/license_key\/\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2526,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2597,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2659,
"length": 13,
"value": "\"app_version\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2779,
"length": 125,
"value": "\"Unable to build URL to refresh key: key=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2837,
"length": 1,
"value": "\", deviceID=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2862,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2868,
"length": 1,
"value": "\", appVersion=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2897,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2903,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3365,
"length": 22,
"value": "\"HTTP error \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3386,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3466,
"length": 37,
"value": "\"Transport error: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3502,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3567,
"length": 24,
"value": "\"Invalid URL components\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3646,
"length": 14,
"value": "\"Missing data\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4318,
"length": 32,
"value": "\"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 4465,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4514,
"length": 13,
"value": "\"en_US_POSIX\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 1561,
"length": 28,
"value": "\"CFBundleShortVersionString\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2437,
"length": 46,
"value": "\"Error refreshing GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2482,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "Array",
"offset": 2847,
"length": 25,
"value": "[408, 429, 502, 503, 504]"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2919,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2967,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3029,
"length": 34,
"value": "\"[GSSDK] Refreshing GSSDK license\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3307,
"length": 48,
"value": "\"[GSSDK] Successfully refreshed the license key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3718,
"length": 65,
"value": "\"Error fetching GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3782,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 256,
"length": 22,
"value": "\"GSSDKCore.GSKLicenseKeyRefresher\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 355,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 441,
"length": 13,
"value": "\"license_key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 504,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 563,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 638,
"length": 16,
"value": "\"keychainPrefix\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 697,
"length": 14,
"value": "\"no_device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2444,
"length": 77,
"value": "\"Error reading\/writing device id from storage: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2520,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 3991,
"length": 34,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4009,
"length": 1,
"value": "\":\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4024,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "BooleanLiteral",
"offset": 4217,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4737,
"length": 66,
"value": "\"Error loading cached license key from keychain: status=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4802,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 823,
"length": 1,
"value": "5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 1041,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "FloatLiteral",
"offset": 1325,
"length": 3,
"value": "1.5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/PDF\/GSKDocumentGenerator.swift",

@@ -755,0 +1403,0 @@ "kind": "StringLiteral",

@@ -12,8 +12,292 @@ {

"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "TypeDecl",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSKLicenseKeyRefresher",
"children": [
{
"kind": "Var",
"name": "licenseKey",
"printedName": "licenseKey",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Var",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(py)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvp",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Accessor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvg",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"ObjC"
],
"accessorKind": "get"
}
]
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init(baseLicenseKey:)",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)initWithBaseLicenseKey:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC011baseLicenseC0ACSS_tcfc",
"moduleName": "GSSDKCore",
"objc_name": "initWithBaseLicenseKey:",
"declAttributes": [
"Convenience",
"AccessControl",
"ObjC",
"RawDocComment"
],
"init_kind": "Convenience"
},
{
"kind": "Function",
"name": "refreshLicenseKey",
"printedName": "refreshLicenseKey(onSuccess:onFailure:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Error, Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Tuple",
"printedName": "(Swift.Error, Swift.String)",
"children": [
{
"kind": "TypeNominal",
"name": "Error",
"printedName": "Swift.Error",
"usr": "s:s5ErrorP"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
}
]
}
],
"declKind": "Func",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)refreshLicenseKeyOnSuccess:onFailure:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC014refreshLicenseC09onSuccess0G7FailureyySSc_ys5Error_p_SStctF",
"moduleName": "GSSDKCore",
"objc_name": "refreshLicenseKeyOnSuccess:onFailure:",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init()",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)init",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherCACycfc",
"moduleName": "GSSDKCore",
"overriding": true,
"implicit": true,
"objc_name": "init",
"declAttributes": [
"Dynamic",
"ObjC",
"Override"
],
"init_kind": "Designated"
}
],
"declKind": "Class",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"superclassUsr": "c:objc(cs)NSObject",
"hasMissingDesignatedInitializers": true,
"superclassNames": [
"ObjectiveC.NSObject"
],
"conformances": [
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable",
"usr": "s:SQ",
"mangledName": "$sSQ"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable",
"usr": "s:SH",
"mangledName": "$sSH"
},
{
"kind": "Conformance",
"name": "CVarArg",
"printedName": "CVarArg",
"usr": "s:s7CVarArgP",
"mangledName": "$ss7CVarArgP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObservingPublishing",
"printedName": "_KeyValueCodingAndObservingPublishing",
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObserving",
"printedName": "_KeyValueCodingAndObserving",
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
},
{
"kind": "Conformance",
"name": "CustomStringConvertible",
"printedName": "CustomStringConvertible",
"usr": "s:s23CustomStringConvertibleP",
"mangledName": "$ss23CustomStringConvertibleP"
},
{
"kind": "Conformance",
"name": "CustomDebugStringConvertible",
"printedName": "CustomDebugStringConvertible",
"usr": "s:s28CustomDebugStringConvertibleP",
"mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "TypeDecl",

@@ -753,2 +1037,366 @@ "name": "GSKDocumentGenerator",

{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 894,
"length": 28,
"value": "\"https:\/\/sdk.geniusscan.com\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1701,
"length": 3,
"value": "200"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1707,
"length": 3,
"value": "299"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2495,
"length": 32,
"value": "\"\/license_key\/\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2526,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2597,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2659,
"length": 13,
"value": "\"app_version\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2779,
"length": 125,
"value": "\"Unable to build URL to refresh key: key=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2837,
"length": 1,
"value": "\", deviceID=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2862,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2868,
"length": 1,
"value": "\", appVersion=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2897,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2903,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3365,
"length": 22,
"value": "\"HTTP error \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3386,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3466,
"length": 37,
"value": "\"Transport error: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3502,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3567,
"length": 24,
"value": "\"Invalid URL components\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3646,
"length": 14,
"value": "\"Missing data\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4318,
"length": 32,
"value": "\"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 4465,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4514,
"length": 13,
"value": "\"en_US_POSIX\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 1561,
"length": 28,
"value": "\"CFBundleShortVersionString\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2437,
"length": 46,
"value": "\"Error refreshing GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2482,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "Array",
"offset": 2847,
"length": 25,
"value": "[408, 429, 502, 503, 504]"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2919,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2967,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3029,
"length": 34,
"value": "\"[GSSDK] Refreshing GSSDK license\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3307,
"length": 48,
"value": "\"[GSSDK] Successfully refreshed the license key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3718,
"length": 65,
"value": "\"Error fetching GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3782,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 256,
"length": 22,
"value": "\"GSSDKCore.GSKLicenseKeyRefresher\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 355,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 441,
"length": 13,
"value": "\"license_key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 504,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 563,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 638,
"length": 16,
"value": "\"keychainPrefix\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 697,
"length": 14,
"value": "\"no_device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2444,
"length": 77,
"value": "\"Error reading\/writing device id from storage: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2520,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 3991,
"length": 34,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4009,
"length": 1,
"value": "\":\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4024,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "BooleanLiteral",
"offset": 4217,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4737,
"length": 66,
"value": "\"Error loading cached license key from keychain: status=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4802,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 823,
"length": 1,
"value": "5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 1041,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "FloatLiteral",
"offset": 1325,
"length": 3,
"value": "1.5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/PDF\/GSKDocumentGenerator.swift",

@@ -755,0 +1403,0 @@ "kind": "StringLiteral",

@@ -12,8 +12,292 @@ {

"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore"
},
{
"kind": "TypeDecl",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSKLicenseKeyRefresher",
"children": [
{
"kind": "Var",
"name": "licenseKey",
"printedName": "licenseKey",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Var",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(py)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvp",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"accessors": [
{
"kind": "Accessor",
"name": "Get",
"printedName": "Get()",
"children": [
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Accessor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)licenseKey",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC07licenseC0SSvg",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"ObjC"
],
"accessorKind": "get"
}
]
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init(baseLicenseKey:)",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)initWithBaseLicenseKey:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC011baseLicenseC0ACSS_tcfc",
"moduleName": "GSSDKCore",
"objc_name": "initWithBaseLicenseKey:",
"declAttributes": [
"Convenience",
"AccessControl",
"ObjC",
"RawDocComment"
],
"init_kind": "Convenience"
},
{
"kind": "Function",
"name": "refreshLicenseKey",
"printedName": "refreshLicenseKey(onSuccess:onFailure:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
},
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Swift.Error, Swift.String) -> ()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Tuple",
"printedName": "(Swift.Error, Swift.String)",
"children": [
{
"kind": "TypeNominal",
"name": "Error",
"printedName": "Swift.Error",
"usr": "s:s5ErrorP"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "Swift.String",
"usr": "s:SS"
}
]
}
]
}
],
"declKind": "Func",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)refreshLicenseKeyOnSuccess:onFailure:",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC014refreshLicenseC09onSuccess0G7FailureyySSc_ys5Error_p_SStctF",
"moduleName": "GSSDKCore",
"objc_name": "refreshLicenseKeyOnSuccess:onFailure:",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"funcSelfKind": "NonMutating"
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init()",
"children": [
{
"kind": "TypeNominal",
"name": "GSKLicenseKeyRefresher",
"printedName": "GSSDKCore.GSKLicenseKeyRefresher",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher"
}
],
"declKind": "Constructor",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher(im)init",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherCACycfc",
"moduleName": "GSSDKCore",
"overriding": true,
"implicit": true,
"objc_name": "init",
"declAttributes": [
"Dynamic",
"ObjC",
"Override"
],
"init_kind": "Designated"
}
],
"declKind": "Class",
"usr": "c:@M@GSSDKCore@objc(cs)GSKLicenseKeyRefresher",
"mangledName": "$s9GSSDKCore22GSKLicenseKeyRefresherC",
"moduleName": "GSSDKCore",
"declAttributes": [
"Final",
"AccessControl",
"ObjC",
"RawDocComment"
],
"superclassUsr": "c:objc(cs)NSObject",
"hasMissingDesignatedInitializers": true,
"superclassNames": [
"ObjectiveC.NSObject"
],
"conformances": [
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable",
"usr": "s:SQ",
"mangledName": "$sSQ"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable",
"usr": "s:SH",
"mangledName": "$sSH"
},
{
"kind": "Conformance",
"name": "CVarArg",
"printedName": "CVarArg",
"usr": "s:s7CVarArgP",
"mangledName": "$ss7CVarArgP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObservingPublishing",
"printedName": "_KeyValueCodingAndObservingPublishing",
"usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP",
"mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP"
},
{
"kind": "Conformance",
"name": "_KeyValueCodingAndObserving",
"printedName": "_KeyValueCodingAndObserving",
"usr": "s:10Foundation27_KeyValueCodingAndObservingP",
"mangledName": "$s10Foundation27_KeyValueCodingAndObservingP"
},
{
"kind": "Conformance",
"name": "CustomStringConvertible",
"printedName": "CustomStringConvertible",
"usr": "s:s23CustomStringConvertibleP",
"mangledName": "$ss23CustomStringConvertibleP"
},
{
"kind": "Conformance",
"name": "CustomDebugStringConvertible",
"printedName": "CustomDebugStringConvertible",
"usr": "s:s28CustomDebugStringConvertibleP",
"mangledName": "$ss28CustomDebugStringConvertibleP"
}
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "Import",
"name": "Foundation",
"printedName": "Foundation",
"declKind": "Import",
"moduleName": "GSSDKCore",
"declAttributes": [
"RawDocComment"
]
},
{
"kind": "TypeDecl",

@@ -753,2 +1037,366 @@ "name": "GSKDocumentGenerator",

{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 894,
"length": 28,
"value": "\"https:\/\/sdk.geniusscan.com\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1701,
"length": 3,
"value": "200"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 1707,
"length": 3,
"value": "299"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2495,
"length": 32,
"value": "\"\/license_key\/\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2526,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2597,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2659,
"length": 13,
"value": "\"app_version\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2779,
"length": 125,
"value": "\"Unable to build URL to refresh key: key=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2837,
"length": 1,
"value": "\", deviceID=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2862,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2868,
"length": 1,
"value": "\", appVersion=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2897,
"length": 5,
"value": "\"nil\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 2903,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3365,
"length": 22,
"value": "\"HTTP error \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3386,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3466,
"length": 37,
"value": "\"Transport error: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3502,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3567,
"length": 24,
"value": "\"Invalid URL components\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 3646,
"length": 14,
"value": "\"Missing data\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4138,
"length": 17,
"value": "\"expiration_date\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4318,
"length": 32,
"value": "\"yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "IntegerLiteral",
"offset": 4465,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyAPI.swift",
"kind": "StringLiteral",
"offset": 4514,
"length": 13,
"value": "\"en_US_POSIX\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 1561,
"length": 28,
"value": "\"CFBundleShortVersionString\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2437,
"length": 46,
"value": "\"Error refreshing GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 2482,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "Array",
"offset": 2847,
"length": 25,
"value": "[408, 429, 502, 503, 504]"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2919,
"length": 5,
"value": "false"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "BooleanLiteral",
"offset": 2967,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3029,
"length": 34,
"value": "\"[GSSDK] Refreshing GSSDK license\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3307,
"length": 48,
"value": "\"[GSSDK] Successfully refreshed the license key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3718,
"length": 65,
"value": "\"Error fetching GSSDK license key: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 3782,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyRefresher.swift",
"kind": "StringLiteral",
"offset": 256,
"length": 22,
"value": "\"GSSDKCore.GSKLicenseKeyRefresher\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 355,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 441,
"length": 13,
"value": "\"license_key\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 504,
"length": 11,
"value": "\"device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 563,
"length": 34,
"value": "\"com.thegrizzlylabs.geniusscansdk\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 638,
"length": 16,
"value": "\"keychainPrefix\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 697,
"length": 14,
"value": "\"no_device_id\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2444,
"length": 77,
"value": "\"Error reading\/writing device id from storage: \""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 2520,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 3991,
"length": 34,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4009,
"length": 1,
"value": "\":\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4024,
"length": 1,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "BooleanLiteral",
"offset": 4217,
"length": 4,
"value": "true"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4737,
"length": 66,
"value": "\"Error loading cached license key from keychain: status=\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/GSKLicenseKeyStorage.swift",
"kind": "StringLiteral",
"offset": 4802,
"length": 2,
"value": "\"\""
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 823,
"length": 1,
"value": "5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "IntegerLiteral",
"offset": 1041,
"length": 1,
"value": "0"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/Core\/Task+Retry.swift",
"kind": "FloatLiteral",
"offset": 1325,
"length": 3,
"value": "1.5"
},
{
"filePath": "\/Users\/distiller\/project\/prj-ios\/GSSDK\/Core\/Sources\/PDF\/GSKDocumentGenerator.swift",

@@ -755,0 +1403,0 @@ "kind": "StringLiteral",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc