[🙅] Remove fallback that's no longer valid (#4353)
* Remove fallback that's no longer valid * Update testzio/stable
parent
a49fe13223
commit
551af88f22
|
@ -59,7 +59,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-1",
|
"refreshJwt": "alice-refresh-jwt-1",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -97,7 +97,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -147,7 +147,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-1",
|
"refreshJwt": "alice-refresh-jwt-1",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -195,7 +195,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-1",
|
"refreshJwt": "bob-refresh-jwt-1",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "alice-access-jwt-1",
|
"accessJwt": "alice-access-jwt-1",
|
||||||
|
@ -208,7 +208,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-1",
|
"refreshJwt": "alice-refresh-jwt-1",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -256,7 +256,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "bob-access-jwt-1",
|
"accessJwt": "bob-access-jwt-1",
|
||||||
|
@ -269,7 +269,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-1",
|
"refreshJwt": "bob-refresh-jwt-1",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -315,7 +315,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "jay-refresh-jwt-1",
|
"refreshJwt": "jay-refresh-jwt-1",
|
||||||
"service": "https://jay.com/",
|
"service": "https://jay.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "alice-access-jwt-2",
|
"accessJwt": "alice-access-jwt-2",
|
||||||
|
@ -328,7 +328,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "bob-access-jwt-1",
|
"accessJwt": "bob-access-jwt-1",
|
||||||
|
@ -341,7 +341,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-1",
|
"refreshJwt": "bob-refresh-jwt-1",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -383,7 +383,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://jay.com/",
|
"service": "https://jay.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": undefined,
|
"accessJwt": undefined,
|
||||||
|
@ -396,7 +396,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": undefined,
|
"accessJwt": undefined,
|
||||||
|
@ -409,7 +409,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -468,7 +468,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -513,7 +513,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -625,7 +625,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-1",
|
"refreshJwt": "bob-refresh-jwt-1",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -706,7 +706,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -757,7 +757,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-3",
|
"refreshJwt": "alice-refresh-jwt-3",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -808,7 +808,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-4",
|
"refreshJwt": "alice-refresh-jwt-4",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -965,7 +965,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-1",
|
"refreshJwt": "bob-refresh-jwt-1",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "alice-access-jwt-2",
|
"accessJwt": "alice-access-jwt-2",
|
||||||
|
@ -978,7 +978,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1027,7 +1027,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-2",
|
"refreshJwt": "bob-refresh-jwt-2",
|
||||||
"service": "https://bob.com/",
|
"service": "https://bob.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "alice-access-jwt-2",
|
"accessJwt": "alice-access-jwt-2",
|
||||||
|
@ -1040,7 +1040,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-2",
|
"refreshJwt": "alice-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1188,7 +1188,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "alice-refresh-jwt-1",
|
"refreshJwt": "alice-refresh-jwt-1",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1251,7 +1251,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1314,7 +1314,7 @@ describe('session', () => {
|
||||||
"refreshJwt": undefined,
|
"refreshJwt": undefined,
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1406,7 +1406,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "jay-refresh-jwt-1",
|
"refreshJwt": "jay-refresh-jwt-1",
|
||||||
"service": "https://jay.com/",
|
"service": "https://jay.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"accessJwt": "bob-access-jwt-2",
|
"accessJwt": "bob-access-jwt-2",
|
||||||
|
@ -1419,7 +1419,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "bob-refresh-jwt-2",
|
"refreshJwt": "bob-refresh-jwt-2",
|
||||||
"service": "https://alice.com/",
|
"service": "https://alice.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
@ -1466,7 +1466,7 @@ describe('session', () => {
|
||||||
"refreshJwt": "clarence-refresh-jwt-2",
|
"refreshJwt": "clarence-refresh-jwt-2",
|
||||||
"service": "https://clarence.com/",
|
"service": "https://clarence.com/",
|
||||||
"signupQueued": false,
|
"signupQueued": false,
|
||||||
"status": "active",
|
"status": undefined,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"currentAgentState": {
|
"currentAgentState": {
|
||||||
|
|
|
@ -236,7 +236,7 @@ export function agentToSessionAccount(
|
||||||
accessJwt: agent.session.accessJwt,
|
accessJwt: agent.session.accessJwt,
|
||||||
signupQueued: isSignupQueued(agent.session.accessJwt),
|
signupQueued: isSignupQueued(agent.session.accessJwt),
|
||||||
// @ts-expect-error TODO remove when backend is ready
|
// @ts-expect-error TODO remove when backend is ready
|
||||||
status: agent.session.status || 'active',
|
status: agent.session.status,
|
||||||
pdsUrl: agent.pdsUrl?.toString(),
|
pdsUrl: agent.pdsUrl?.toString(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue