File tree Expand file tree Collapse file tree 12 files changed +36
-33
lines changed
fake-toss-payments-server Expand file tree Collapse file tree 12 files changed +36
-33
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fake-iamport-server" ,
3
- "version" : " 5.1.2 " ,
3
+ "version" : " 5.1.4 " ,
4
4
"description" : " Fake iamport server for testing" ,
5
5
"main" : " lib/index.js" ,
6
6
"typings" : " lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ export class FakeIamportBackend {
31
31
32
32
// DO OPEN
33
33
this . application_ . enableCors ( ) ;
34
- await this . application_ . listen ( FakeIamportConfiguration . API_PORT ) ;
34
+ await this . application_ . listen (
35
+ FakeIamportConfiguration . API_PORT ,
36
+ "0.0.0.0" ,
37
+ ) ;
35
38
36
39
//----
37
40
// POST-PROCESSES
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fake-toss-payments-server" ,
3
- "version" : " 5.1.2 " ,
3
+ "version" : " 5.1.4 " ,
4
4
"description" : " Fake toss-payments server for testing" ,
5
5
"main" : " lib/index.js" ,
6
6
"typings" : " lib/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class FakeTossBackend {
31
31
32
32
// DO OPEN
33
33
this . application_ . enableCors ( ) ;
34
- await this . application_ . listen ( FakeTossConfiguration . API_PORT ) ;
34
+ await this . application_ . listen ( FakeTossConfiguration . API_PORT , "0.0.0.0" ) ;
35
35
36
36
//----
37
37
// POST-PROCESSES
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " iamport-server-api" ,
3
- "version" : " 5.1.2 " ,
3
+ "version" : " 5.1.4 " ,
4
4
"description" : " API for Iamport Server" ,
5
5
"main" : " lib/index.js" ,
6
6
"typings" : " lib/index.d.ts" ,
Original file line number Diff line number Diff line change 13
13
"info" : {
14
14
"title" : " Iamport API" ,
15
15
"description" : " Built by [fake-iamport-server](https://github.com/samchon/payments/tree/master/packages/fake-iamport-server) with [nestia](https://github.com/samchon/nestia)" ,
16
- "version" : " 5.1.2 " ,
16
+ "version" : " 5.1.4 " ,
17
17
"license" : {
18
18
"name" : " MIT"
19
19
}
529
529
"target" : {
530
530
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportCertification.ts" ,
531
531
"textSpan" : {
532
- "start" : 447 ,
532
+ "start" : 429 ,
533
533
"length" : 16
534
534
}
535
535
}
630
630
"target" : {
631
631
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportCertification.ts" ,
632
632
"textSpan" : {
633
- "start" : 447 ,
633
+ "start" : 429 ,
634
634
"length" : 16
635
635
}
636
636
}
831
831
"target" : {
832
832
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportCertification.ts" ,
833
833
"textSpan" : {
834
- "start" : 447 ,
834
+ "start" : 429 ,
835
835
"length" : 16
836
836
}
837
837
}
1096
1096
"target" : {
1097
1097
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportPayment.ts" ,
1098
1098
"textSpan" : {
1099
- "start" : 2101 ,
1099
+ "start" : 2017 ,
1100
1100
"length" : 16
1101
1101
}
1102
1102
}
1302
1302
"target" : {
1303
1303
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportPayment.ts" ,
1304
1304
"textSpan" : {
1305
- "start" : 2101 ,
1305
+ "start" : 2017 ,
1306
1306
"length" : 16
1307
1307
}
1308
1308
}
1415
1415
"target" : {
1416
1416
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportPayment.ts" ,
1417
1417
"textSpan" : {
1418
- "start" : 2101 ,
1418
+ "start" : 2017 ,
1419
1419
"length" : 16
1420
1420
}
1421
1421
}
1533
1533
"target" : {
1534
1534
"fileName" : " D:/github/samchon/payments/packages/fake-iamport-server/src/api/structures/IIamportPayment.ts" ,
1535
1535
"textSpan" : {
1536
- "start" : 2101 ,
1536
+ "start" : 2017 ,
1537
1537
"length" : 16
1538
1538
}
1539
1539
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @samchon/payment-api" ,
3
- "version" : " 5.1.2 " ,
3
+ "version" : " 5.1.4 " ,
4
4
"description" : " API for Payment Backend" ,
5
5
"main" : " lib/index.js" ,
6
6
"typings" : " lib/index.d.ts" ,
35
35
},
36
36
"dependencies" : {
37
37
"@nestia/fetcher" : " ^2.3.9" ,
38
- "iamport-server-api" : " ^5.1.2 " ,
39
- "toss-payments-server-api" : " ^5.1.2 " ,
38
+ "iamport-server-api" : " ^5.1.4 " ,
39
+ "toss-payments-server-api" : " ^5.1.4 " ,
40
40
"typia" : " ^5.2.6"
41
41
}
42
42
}
Original file line number Diff line number Diff line change 7
7
}
8
8
],
9
9
"info" : {
10
- "version" : " 5.1.2 " ,
10
+ "version" : " 5.1.4 " ,
11
11
"title" : " @samchon/payment-backend" ,
12
12
"description" : " Payment Backend Server" ,
13
13
"license" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @samchon/payment-backend" ,
3
- "version" : " 5.1.2 " ,
3
+ "version" : " 5.1.4 " ,
4
4
"description" : " Payment Backend Server" ,
5
5
"main" : " lib/index.js" ,
6
6
"typings" : " lib/index.d.ts" ,
68
68
"cli" : " ^1.0.1" ,
69
69
"copy-webpack-plugin" : " ^11.0.0" ,
70
70
"copyfiles" : " ^2.4.1" ,
71
- "iamport-server-api" : " ^5.1.2 " ,
71
+ "iamport-server-api" : " ^5.1.4 " ,
72
72
"nestia" : " ^5.0.3" ,
73
73
"pm2" : " ^4.5.6" ,
74
74
"rimraf" : " ^3.0.2" ,
75
75
"sloc" : " ^0.2.1" ,
76
- "toss-payments-server-api" : " ^5.1.2 " ,
76
+ "toss-payments-server-api" : " ^5.1.4 " ,
77
77
"ts-loader" : " ^9.5.0" ,
78
78
"ts-node" : " ^10.9.1" ,
79
79
"ts-patch" : " ^3.0.2" ,
92
92
"bcryptjs" : " ^2.4.3" ,
93
93
"dotenv" : " ^16.3.1" ,
94
94
"dotenv-expand" : " ^10.0.0" ,
95
- "fake-iamport-server" : " ^5.1.2 " ,
96
- "fake-toss-payments-server" : " ^5.1.2 " ,
95
+ "fake-iamport-server" : " ^5.1.4 " ,
96
+ "fake-toss-payments-server" : " ^5.1.4 " ,
97
97
"fastify" : " ^4.24.3" ,
98
98
"git-last-commit" : " ^1.0.0" ,
99
99
"inquirer" : " ^8.2.5" ,
111
111
" LICENSE" ,
112
112
" README.md"
113
113
]
114
- }
114
+ }
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class PaymentBackend {
48
48
this . application_ . use ( this . middleware . bind ( this ) ) ;
49
49
50
50
// DO OPEN
51
- await this . application_ . listen ( PaymentConfiguration . API_PORT ( ) ) ;
51
+ await this . application_ . listen ( PaymentConfiguration . API_PORT ( ) , "0.0.0.0" ) ;
52
52
53
53
// CONFIGURE FAKE SERVERS IF TESTING
54
54
if ( PaymentGlobal . testing === true ) {
You can’t perform that action at this time.
0 commit comments