Skip to content

Commit

Permalink
Add explicit layer typing (#138)
Browse files Browse the repository at this point in the history
* Add explicit layer typing

* bump version
  • Loading branch information
daniel-statsig authored Jan 5, 2023
1 parent 7ca31c5 commit 4be31e3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Statsig/DeviceEnvironment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ struct DeviceEnvironment {

var deviceOS: String = "iOS"
var sdkType: String = "ios-client"
var sdkVersion: String = "1.17.0"
var sdkVersion: String = "1.17.1"
var sessionID: String? { UUID().uuidString }
var systemVersion: String { UIDevice.current.systemVersion }
var systemName: String { UIDevice.current.systemName }
Expand Down
2 changes: 1 addition & 1 deletion Sources/Statsig/InternalStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class InternalStore {
}

func getLayer(client: StatsigClient?, forName layerName: String, keepDeviceValue: Bool = false) -> Layer {
let latestValue = storeQueue.sync {
let latestValue: Layer = storeQueue.sync {
if let override = (localOverrides[InternalStore.layerConfigsKey] as? [String: [String: Any]])?[layerName] {
return Layer(
client: nil,
Expand Down
2 changes: 1 addition & 1 deletion Statsig.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

spec.name = "Statsig"
spec.version = "1.17.0"
spec.version = "1.17.1"
spec.summary = "Statsig enables developers to ship code faster and more safely."
spec.description = <<-DESC
Statsig enables developers to ship code faster and more safely by providing:
Expand Down
2 changes: 1 addition & 1 deletion StatsigInternalObjC.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

spec.name = "StatsigInternalObjC"
spec.version = "1.17.0"
spec.version = "1.17.1"
spec.summary = "Statsig enables developers to ship code faster and more safely."
spec.description = <<-DESC
Statsig enables developers to ship code faster and more safely.
Expand Down

0 comments on commit 4be31e3

Please sign in to comment.