Skip to content

Commit f7c5beb

Browse files
author
Latitude Bot
committed
chore: bump version to 0.1.1 for @latitudegames/expo-updates
1 parent 570ed1a commit f7c5beb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/expo-updates/ios/EXUpdates/SelectionPolicy/LauncherSelectionPolicyFilterAware.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ public final class LauncherSelectionPolicyFilterAware: NSObject, LauncherSelecti
3131
return (update.url == nil && update.requestHeaders == nil) || (update.url == config.updateUrl && update.requestHeaders == config.requestHeaders)
3232
}
3333

34-
if filterByChannel, let channelName = channelNameFromConfig(), !channelName.isEmpty {
35-
NSLog("[ChannelSwitch] Filtering updates for channel %@", channelName)
34+
if filterByChannel, let configuredChannelName = channelNameFromConfig(), !configuredChannelName.isEmpty {
35+
NSLog("[ChannelSwitch] Filtering updates for channel %@", configuredChannelName)
3636
let channelFilteredUpdates = matchingUpdates.filter { update in
3737
guard let updateChannel = channelName(for: update) else {
3838
return false
3939
}
40-
return updateChannel == channelName
40+
return updateChannel == configuredChannelName
4141
}
4242

4343
if !channelFilteredUpdates.isEmpty {
44-
NSLog("[ChannelSwitch] Found %d updates matching channel %@", channelFilteredUpdates.count, channelName)
44+
NSLog("[ChannelSwitch] Found %d updates matching channel %@", channelFilteredUpdates.count, configuredChannelName)
4545
return channelFilteredUpdates.sorted { $0.commitTime > $1.commitTime }.first
4646
}
4747

48-
NSLog("[ChannelSwitch] No updates matched channel %@; falling back to unfiltered selection", channelName)
48+
NSLog("[ChannelSwitch] No updates matched channel %@; falling back to unfiltered selection", configuredChannelName)
4949
}
5050

5151
return matchingUpdates.sorted { $0.commitTime > $1.commitTime }.first

packages/expo-updates/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@latitudegames/expo-updates",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)