stytch 2.10.0 → 2.10.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: c2b973d686af6ce37a2f1d51825d075f0b361ad75eb06ee0d74df0ba343543bc
4
- data.tar.gz: 4649dc2a86ddcb0013bfe8f1cee480fa8f0533fa52eabe4531fad4bc8acf0432
3
+ metadata.gz: a7e1189f6fb15a13e7eca082c284fd13e96297000dcd4cad735620289a34ac2f
4
+ data.tar.gz: 922aed7238ccb9f2042afad0c506ca0ceeff30d1cc2905947fec5d3513051eb6
5
5
  SHA512:
6
- metadata.gz: 1e34d2f40645f2393c8573ce667c36fdff565c4918133b4bedc800b70c5e406822b33f85a5a95981bda8ceeaf4196ae3816ce863c20ac04b2f847b00be6b10c5
7
- data.tar.gz: 97ad61637feec32db2b4e20927385c248b566c2c32ccc47e32be27a33d93363e04449e314357b30ed42fdaf645beab9e7464377d7b7b45be9df36ff37b03272c
6
+ metadata.gz: f5786234e98901186751ad3c142365144e1587d83aa827c1f13c4bbbec7f2093a165af5e26aacab9a27069d280885f897c03ea245e8c4dfae03dd60716eaa832
7
+ data.tar.gz: 32a2c56b4cb0327ed95e0991bbb5dd2db32eb3a3eee4f8c21aba81b540a08a04a14d38931b52b476dfcb4353c7679346c15aafdf8d056532370f02e674bae491
data/README.md CHANGED
@@ -57,7 +57,7 @@ client.magic_links.email.login_or_create(
57
57
  Authenticate the token from the magic link:
58
58
  ```ruby
59
59
  client.magic_links.authenticate(
60
- token: "DOYoip3rvIMMW5lgItikFK-Ak1CfMsgjuiCyI7uuU94=",
60
+ token: "SeiGwdj5lKkrEVgcEY3QNJXt6srxS3IK2Nwkar6mXD4=",
61
61
  )
62
62
  ```
63
63
 
data/lib/stytch/client.rb CHANGED
@@ -37,7 +37,7 @@ module Stytch
37
37
  when :live
38
38
  'https://api.stytch.com'
39
39
  when :test
40
- 'https://test.nikhil.dev.stytch.com'
40
+ 'https://test.stytch.com'
41
41
  else
42
42
  raise ArgumentError, "Invalid value for env (#{@env}): should be live or test"
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stytch
4
- VERSION = '2.10.0'
4
+ VERSION = '2.10.1'
5
5
  end
data/lib/stytch.rb CHANGED
@@ -8,16 +8,3 @@ require_relative 'stytch/middleware'
8
8
  require_relative 'stytch/version'
9
9
 
10
10
  module Stytch end
11
-
12
- client = Stytch::Client.new(
13
- env: :test,
14
- project_id: "project-test-2a934f44-a014-425d-aa1d-76f2d0344db7",
15
- secret: "secret-test-z5kbR31dkcTnocolLJT77gkyX9KJQeU9umg="
16
- )
17
-
18
- resp = client.totps.authenticate(
19
- user_id: "user-test-fa9e1ba8-6786-4a7c-923f-a76a2b82e6a5",
20
- totp_code: "021363",
21
- session_token: "HLr0NGPZkyn7xA9Vc9XFjOIDjUafuTumOT6au3-PqM83",
22
- )
23
- puts resp
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stytch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.10.0
4
+ version: 2.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - stytch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-20 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday