Skip to content

Commit 06e6da3

Browse files
committed
chore: merge branch 'main' of https://github.com/interledger/rafiki into multihop-static-routing
2 parents 0ec4d92 + cb847fb commit 06e6da3

File tree

119 files changed

+27352
-1378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+27352
-1378
lines changed

bruno/collections/Rafiki/Examples/Admin API - only locally/Peer-to-Peer Cross Currency Payment/Create Receiver (remote Incoming Payment).bru

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ body:graphql {
3030
assetScale
3131
value
3232
}
33-
updatedAt
3433
}
3534
}
3635
}
@@ -65,7 +64,7 @@ script:pre-request {
6564

6665
script:post-response {
6766
const body = res.getBody();
68-
67+
6968
if (body?.data) {
7069
bru.setEnvVar("receiverId", body.data.createReceiver.receiver.id);
7170
}

bruno/collections/Rafiki/Examples/Admin API - only locally/Peer-to-Peer Local Payment/Create Receiver -local Incoming Payment-.bru

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ body:graphql {
3030
assetScale
3131
value
3232
}
33-
updatedAt
3433
}
3534
}
3635
}

bruno/collections/Rafiki/Examples/Admin API - only locally/Peer-to-Peer Payment/Create Receiver -remote Incoming Payment-.bru

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ body:graphql {
3030
assetScale
3131
value
3232
}
33-
updatedAt
3433
}
3534
}
3635
}
@@ -60,7 +59,7 @@ script:pre-request {
6059

6160
script:post-response {
6261
const body = res.getBody();
63-
62+
6463
if (body?.data) {
6564
bru.setEnvVar("receiverId", body.data.createReceiver.receiver.id);
6665
}

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Continuation Request.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/continue/{{continueId}}
8+
url: {{senderOpenPaymentsContinuationUri}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments Without Quote/Grant Request Outgoing Payment.bru

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ body:json {
2121
],
2222
"identifier": "{{senderWalletAddress}}",
2323
"limits": {
24-
"debitAmount": {{debitAmount}},
25-
"receiveAmount": {{receiveAmount}}
24+
"debitAmount": {{debitAmount}}
2625
}
2726
}
2827
]
@@ -47,6 +46,9 @@ script:post-response {
4746
const scripts = require('./scripts');
4847

4948
scripts.storeTokenDetails();
49+
50+
const body = res.getBody()
51+
bru.setEnvVar("senderOpenPaymentsContinuationUri", body?.continue.uri)
5052
}
5153

5254
tests {

bruno/collections/Rafiki/Examples/Open Payments/Continuation Request.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/continue/{{continueId}}
8+
url: {{senderOpenPaymentsContinuationUri}}
99
body: json
1010
auth: none
1111
}

bruno/collections/Rafiki/Examples/Open Payments/Grant Request Outgoing Payment.bru

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ body:json {
2121
],
2222
"identifier": "{{senderWalletAddress}}",
2323
"limits": {
24-
"debitAmount": {{quoteDebitAmount}},
25-
"receiveAmount": {{quoteReceiveAmount}}
24+
"debitAmount": {{quoteDebitAmount}}
2625
}
2726
}
2827
]
@@ -47,6 +46,9 @@ script:post-response {
4746
const scripts = require('./scripts');
4847

4948
scripts.storeTokenDetails();
49+
50+
const body = res.getBody()
51+
bru.setEnvVar("senderOpenPaymentsContinuationUri", body?.continue.uri)
5052
}
5153

5254
tests {

bruno/collections/Rafiki/Examples/Tenanted Open Payments - Tenanted Environment Only/Continuation Request.bru

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderTenantOpenPaymentsAuthHost}}/continue/{{continueId}}
8+
url: {{senderTenantOpenPaymentsContinuationUri}}
99
body: json
1010
auth: none
1111
}
@@ -30,4 +30,4 @@ tests {
3030
test("Status code is 200", function() {
3131
expect(res.getStatus()).to.equal(200);
3232
});
33-
}
33+
}

bruno/collections/Rafiki/Examples/Tenanted Open Payments - Tenanted Environment Only/Grant Request Outgoing Payment.bru

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ body:json {
2121
],
2222
"identifier": "{{senderTenantWalletAddress}}",
2323
"limits": {
24-
"debitAmount": {{quoteDebitAmount}},
25-
"receiveAmount": {{quoteReceiveAmount}}
24+
"debitAmount": {{quoteDebitAmount}}
2625
}
2726
}
2827
]
@@ -47,6 +46,9 @@ script:post-response {
4746
const scripts = require('./scripts');
4847

4948
scripts.storeTokenDetails();
49+
50+
const body = res.getBody()
51+
bru.setEnvVar("senderTenantOpenPaymentsContinuationUri", body?.continue.uri)
5052
}
5153

5254
tests {

bruno/collections/Rafiki/Examples/Web Monetization/Continuation Request.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ meta {
55
}
66

77
post {
8-
url: {{senderOpenPaymentsAuthHost}}/continue/{{continueId}}
8+
url: {{senderOpenPaymentsContinuationUri}}
99
body: json
1010
auth: none
1111
}

0 commit comments

Comments
 (0)