diff --git a/CHANGELOG.md b/CHANGELOG.md index 9814b53..14b30eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [3.3.0] - 2023-05-22 + +### New +* Add `openAI` auth scope that allows to make requests through Setapp servers to AI platforms such as OpenAI. + + ## [3.2.1] - 2023-04-26 ### Fixed diff --git a/Samples/Electron/package.json b/Samples/Electron/package.json index 43435d4..552016e 100644 --- a/Samples/Electron/package.json +++ b/Samples/Electron/package.json @@ -23,7 +23,7 @@ "node-gyp": "^9.3.1" }, "build": { - "buildVersion": "7", + "buildVersion": "8", "appId": "com.setapp.fmwk.macos.TestApp-setapp", "productName": "Setapp Electron App Demo", "copyright": "Copyright 2020-2023 Setapp Limited.", diff --git a/Setapp.podspec b/Setapp.podspec index c0b0718..a4c31ab 100644 --- a/Setapp.podspec +++ b/Setapp.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'Setapp' - s.version = '3.2.1' + s.version = '3.3.0' s.summary = 'Setapp Framework' diff --git a/Setapp.xcframework/Info.plist b/Setapp.xcframework/Info.plist index 7dddffa..e73638f 100644 --- a/Setapp.xcframework/Info.plist +++ b/Setapp.xcframework/Info.plist @@ -8,30 +8,32 @@ HeadersPath Headers LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath libSetapp.a SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator HeadersPath Headers LibraryIdentifier - macos-arm64_x86_64 + ios-arm64 LibraryPath libSetapp.a SupportedArchitectures arm64 - x86_64 SupportedPlatform - macos + ios HeadersPath @@ -54,7 +56,7 @@ HeadersPath Headers LibraryIdentifier - ios-arm64_x86_64-simulator + macos-arm64_x86_64 LibraryPath libSetapp.a SupportedArchitectures @@ -63,9 +65,7 @@ x86_64 SupportedPlatform - ios - SupportedPlatformVariant - simulator + macos CFBundlePackageType diff --git a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc index f218ddf..df2eced 100644 Binary files a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc and b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface index 8601b4d..d3c7085 100644 --- a/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Setapp.xcframework/ios-arm64/Setapp.swiftmodule/arm64-apple-ios.swiftinterface @@ -128,6 +128,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) diff --git a/Setapp.xcframework/ios-arm64/libSetapp.a b/Setapp.xcframework/ios-arm64/libSetapp.a index ccbc959..95e5a4f 100644 Binary files a/Setapp.xcframework/ios-arm64/libSetapp.a and b/Setapp.xcframework/ios-arm64/libSetapp.a differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 0d2e719..9ee9366 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface index a311855..7d23e95 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -71,6 +71,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index 0a5d530..41119fb 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 2079bd0..48d7b11 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/Setapp.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -71,6 +71,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) diff --git a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a index 8d95607..3a0fc4e 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a and b/Setapp.xcframework/ios-arm64_x86_64-maccatalyst/libSetapp.a differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 9d34bbb..cc8f4ab 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface index cf0716e..252be55 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -128,6 +128,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 43d68a1..50ecda1 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 8dd2932..312473c 100644 --- a/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Setapp.xcframework/ios-arm64_x86_64-simulator/Setapp.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -128,6 +128,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } extension Setapp.SetappManager { @available(swift, obsoleted: 0.1) diff --git a/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a b/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a index 89dfc8c..67d11e3 100644 Binary files a/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a and b/Setapp.xcframework/ios-arm64_x86_64-simulator/libSetapp.a differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc index 55a9e75..c71f399 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface index 353c4c6..8bec6b4 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/arm64-apple-macos.swiftinterface @@ -52,6 +52,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } @available(*, deprecated, renamed: "SetappManager.shared.reportUsageEvent(_:)") public func SCReportUsageEvent(_ eventName: Swift.String, _ eventInfo: [Swift.AnyHashable : Any]?) diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc index 3ca917a..c1abd14 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc and b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftdoc differ diff --git a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface index f346fcb..f233dc6 100644 --- a/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface +++ b/Setapp.xcframework/macos-arm64_x86_64/Setapp.swiftmodule/x86_64-apple-macos.swiftinterface @@ -52,6 +52,7 @@ public struct VendorAuthorizationScope : Swift.RawRepresentable, Swift.Equatable public typealias RawValue = Swift.String public var rawValue: Setapp.VendorAuthorizationScope.RawValue public static let applicationAccess: Setapp.VendorAuthorizationScope + public static let openAI: Setapp.VendorAuthorizationScope } @available(*, deprecated, renamed: "SetappManager.shared.reportUsageEvent(_:)") public func SCReportUsageEvent(_ eventName: Swift.String, _ eventInfo: [Swift.AnyHashable : Any]?) diff --git a/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a b/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a index 64f98ff..336a589 100644 Binary files a/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a and b/Setapp.xcframework/macos-arm64_x86_64/libSetapp.a differ diff --git a/SetappFramework-Resources-iOS.bundle/Contents/Info.plist b/SetappFramework-Resources-iOS.bundle/Contents/Info.plist index d25fd79..97098f5 100644 --- a/SetappFramework-Resources-iOS.bundle/Contents/Info.plist +++ b/SetappFramework-Resources-iOS.bundle/Contents/Info.plist @@ -21,7 +21,7 @@ MacOSX CFBundleVersion - 7 + 8 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/Sources/SetappResources-iOS/Resources/Bundles/SetappFramework-Resources-iOS.bundle/Contents/Info.plist b/Sources/SetappResources-iOS/Resources/Bundles/SetappFramework-Resources-iOS.bundle/Contents/Info.plist index d25fd79..97098f5 100644 --- a/Sources/SetappResources-iOS/Resources/Bundles/SetappFramework-Resources-iOS.bundle/Contents/Info.plist +++ b/Sources/SetappResources-iOS/Resources/Bundles/SetappFramework-Resources-iOS.bundle/Contents/Info.plist @@ -21,7 +21,7 @@ MacOSX CFBundleVersion - 7 + 8 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/package.json b/package.json index 3a0e298..028771d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@setapp/framework-wrapper", - "version": "3.2.1", + "version": "3.3.0", "description": "Setapp Framework Node.js wrapper", "main": "nodejs/lib/setapp.js", "dependencies": {