shopify_app 22.2.0 → 22.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e3a66e5b90c252c2d65a607911157a50a2d43ac799a70ef61bb5efaeab65013
4
- data.tar.gz: 9c145d34b0c9a2f7f587ea2653d660ee7477f90f1348461e52c3dd84c6fc8c6a
3
+ metadata.gz: f051af39179d826c762c3770016a18ad61bd36f524cdeb91717fceb77b4676e2
4
+ data.tar.gz: 786f42cc7ca016c11c02ca801460637368e5eac21d8ececbaa8ce1514e618adb
5
5
  SHA512:
6
- metadata.gz: ca6a9990ca94f975da2139e2e9ca4d85a9e967959e12cb08c2419d5614001b1245f292bff1916f2dfd45002a421a0a65b337148b917e4b56d6406e344c27e456
7
- data.tar.gz: 2475faa54148b72d0764e29f101c4f6829f47d049cfcd2b800730a4fa1e6bfe35cf3e26f806366174b9e7a589e7a09143b0a4f9ef20cdbceb2e007b357bc63f3
6
+ metadata.gz: 9f2a94db38f35f29c3f1b7143e3f41238fa895fa5018e9069b135f75c0c664d56b1a7379feab9c2fce5a05b3120827a8347e8a64484668ef08c1e32de5208503
7
+ data.tar.gz: 2fefc18c3e1745618126b64677233aa74954929a72a33b7859dfb4d5b309c4f0cc634d6947458b3f847f8bede70f82736d129573244c9eeab7c0946a8e02b28c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
1
  Unreleased
2
2
  ----------
3
3
 
4
+ 22.2.1 (May 6,2024)
5
+ * Patch - Don't delete session on 401 errors during retry in `with_token_refetch` [#1844](https://github.com/Shopify/shopify_app/pull/1844)
6
+
4
7
  22.2.0 (May 2,2024)
5
8
  ----------
6
9
  * Add new zero redirect authorization strategy - `Token Exchange`.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_app (22.2.0)
4
+ shopify_app (22.2.1)
5
5
  activeresource
6
6
  addressable (~> 2.7)
7
7
  jwt (>= 2.2.3)
@@ -11,8 +11,7 @@ module ShopifyApp
11
11
  ShopifyApp::Logger.debug("Encountered error: #{error.code} - #{error.response.inspect}, re-raising")
12
12
  elsif retrying
13
13
  ShopifyApp::Logger.debug("Shopify API returned a 401 Unauthorized error that was not corrected " \
14
- "with token exchange, deleting current session and re-raising")
15
- ShopifyApp::SessionRepository.delete_session(session.id)
14
+ "with token exchange, re-raising error")
16
15
  else
17
16
  retrying = true
18
17
  ShopifyApp::Logger.debug("Shopify API returned a 401 Unauthorized error, exchanging token and " \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyApp
4
- VERSION = "22.2.0"
4
+ VERSION = "22.2.1"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopify_app",
3
- "version": "22.2.0",
3
+ "version": "22.2.1",
4
4
  "repository": "git@github.com:Shopify/shopify_app.git",
5
5
  "author": "Shopify",
6
6
  "license": "MIT",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.2.0
4
+ version: 22.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-02 00:00:00.000000000 Z
11
+ date: 2024-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
@@ -481,7 +481,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
481
481
  - !ruby/object:Gem::Version
482
482
  version: '0'
483
483
  requirements: []
484
- rubygems_version: 3.5.9
484
+ rubygems_version: 3.5.10
485
485
  signing_key:
486
486
  specification_version: 4
487
487
  summary: This gem is used to get quickly started with the Shopify API