@audius/sdk 3.0.3-beta.104 → 3.0.3-beta.105

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/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "3.0.3-beta.104",
3
+ "version": "3.0.3-beta.105",
4
4
  "audius": {
5
- "releaseSHA": "7e582f6f2c93c2cad18d5d5fdeced65b02ea9235"
5
+ "releaseSHA": "dd170bc6ea9219bd49fba59e0d158cbd3f282a6b"
6
6
  },
7
7
  "description": "Audius SDK",
8
8
  "main": "dist/index.cjs.js",
@@ -216,8 +216,8 @@ export class DiscoveryProviderSelection extends ServiceSelection {
216
216
  return false
217
217
  }
218
218
 
219
- // If this service is behind by patches, add it as a backup and reject
220
- if (semver.patch(version) < semver.patch(this.currentVersion)) {
219
+ // If this service is behind, add it as a backup and reject
220
+ if (semver.lt(version, this.currentVersion)) {
221
221
  this.addBackup(urlMap[response.config.url as string] as string, data.data)
222
222
  return false
223
223
  }