Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha #571

Merged
merged 192 commits into from
Jul 20, 2023
Merged

Alpha #571

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
bb08844
ci(restapi): 🎉 cut release to restapi-v1.0.0
mohammeds1992 Apr 4, 2023
12ba2f7
fix(component): dummy
mohammeds1992 Apr 4, 2023
b0d4776
ci(restapi): 🎉 cut release to restapi-v1.0.0
mohammeds1992 Apr 4, 2023
3c7037b
fix(component): dummy
mohammeds1992 Apr 4, 2023
3df2a3f
ci(restapi): 🎉 cut release to restapi-v1.0.1
mohammeds1992 Apr 4, 2023
2e57a60
ci(restapi): 🎉 cut release to restapi-v1.0.1
mohammeds1992 Apr 4, 2023
59b6cec
fix(component): dummy
mohammeds1992 Apr 4, 2023
09e7129
ci(restapi): 🎉 cut release to restapi-v1.0.2
mohammeds1992 Apr 4, 2023
bef586f
fix(component): dummy
mohammeds1992 Apr 4, 2023
422e8c2
ci(restapi): 🎉 cut release to restapi-v1.0.2
mohammeds1992 Apr 4, 2023
40f1c57
fix(component): dummy
mohammeds1992 Apr 4, 2023
ca9c88a
ci(restapi): 🎉 cut release to restapi-v1.0.3
mohammeds1992 Apr 4, 2023
3e699b0
fix: success progressHook
Aman035 Apr 4, 2023
2b9df34
ci(restapi): 🎉 cut release to restapi-v1.0.4
mohammeds1992 Apr 4, 2023
f1cf430
fix(component): merge main
mohammeds1992 Apr 5, 2023
fa73187
ci(restapi): 🎉 cut release to restapi-v1.1.0
mohammeds1992 Apr 5, 2023
35bbefe
fix: merge main
mohammeds1992 Apr 6, 2023
ade2b43
ci(restapi): 🎉 cut release to restapi-v1.2.0
mohammeds1992 Apr 6, 2023
ee9c434
ci(restapi): 🎉 cut release to restapi-v1.2.0
mohammeds1992 Apr 6, 2023
a6915b6
ci(restapi): 🎉 cut release to restapi-v1.0.0
mohammeds1992 Apr 4, 2023
2af4079
fix(component): dummy
mohammeds1992 Apr 4, 2023
617a4cf
fix(component): dummy
mohammeds1992 Apr 4, 2023
9b53717
fix(component): dummy
mohammeds1992 Apr 4, 2023
44bf6d3
ci(restapi): 🎉 cut release to restapi-v1.0.2
mohammeds1992 Apr 4, 2023
61cfc0c
fix(component): dummy
mohammeds1992 Apr 4, 2023
1c31050
ci(restapi): 🎉 cut release to restapi-v1.0.3
mohammeds1992 Apr 4, 2023
d9e9f15
ci(restapi): 🎉 cut release to restapi-v1.0.4
mohammeds1992 Apr 4, 2023
d2e0659
fix: merge commit
mohammeds1992 Apr 7, 2023
93c2cf4
ci(restapi): 🎉 cut release to restapi-v1.2.1
mohammeds1992 Apr 7, 2023
639b4d2
fix: local for local development (#295)
mohammeds1992 Apr 7, 2023
d5433a9
fix: version update
mohammeds1992 Apr 7, 2023
5a5be65
fix: merge commit
mohammeds1992 Apr 7, 2023
0be9604
fix: main merge
mohammeds1992 Apr 7, 2023
6d6f041
ci(restapi): 🎉 cut release to restapi-v1.2.2
mohammeds1992 Apr 7, 2023
87a31a1
fix: git merge
mohammeds1992 Apr 18, 2023
aef8084
ci(restapi): 🎉 cut release to restapi-v1.2.3
mohammeds1992 Apr 18, 2023
d0e7b13
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 18, 2023
7f35e12
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 19, 2023
9562adc
ci(restapi): 🎉 cut release to restapi-v1.2.4
mohammeds1992 Apr 19, 2023
4998ec0
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 27, 2023
bc34133
ci(restapi): 🎉 cut release to restapi-v1.2.5
mohammeds1992 Apr 27, 2023
48d9499
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 27, 2023
294fe70
ci(restapi): 🎉 cut release to restapi-v1.2.6
mohammeds1992 Apr 27, 2023
0d184dc
fix: Merge branch 'deployment'
mohammeds1992 Apr 27, 2023
934b4a3
ci(restapi): 🎉 cut release to restapi-v1.2.7
mohammeds1992 Apr 27, 2023
012998d
fix: Merge branch 'main' into deployment
mohammeds1992 Apr 27, 2023
8434cfa
ci(socket): 🎉 cut release to socket-v0.5.0
mohammeds1992 Apr 27, 2023
1421658
fix: test commit
mohammeds1992 Apr 27, 2023
ea6130f
fix: Merge branch 'main' into deployment
mohammeds1992 May 1, 2023
974a07f
ci(restapi): 🎉 cut release to restapi-v1.2.8
mohammeds1992 May 1, 2023
eec8551
fix: Merge branch 'main' into deployment
mohammeds1992 May 1, 2023
7f72fdb
ci(uiweb): 🎉 cut release to uiweb-v1.0.0
mohammeds1992 May 1, 2023
de824a4
ci(uiweb): 🎉 cut release to uiweb-v1.0.0
mohammeds1992 May 1, 2023
ec73af8
fix: Merge branch 'main' into deployment
mohammeds1992 May 1, 2023
f7ecc4d
ci(uiweb): 🎉 cut release to uiweb-v1.0.1
mohammeds1992 May 1, 2023
496952a
fix: added ci-version-beta
mohammeds1992 May 2, 2023
2f282ce
fix: added ci-version-beta
mohammeds1992 May 2, 2023
2b3993c
fix: Merge branch 'main' into deployment
mohammeds1992 May 2, 2023
fc6f069
ci(restapi): 🎉 cut beta release to restapi-v1.2.9
mohammeds1992 May 2, 2023
55429e5
fix: added releaseType
mohammeds1992 May 2, 2023
28d7181
fix: added release type
mohammeds1992 May 2, 2023
9237cb8
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-beta.0
mohammeds1992 May 2, 2023
9d3080c
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-beta.0
mohammeds1992 May 2, 2023
a3cf078
fix: Merge branch 'main' into deployment
mohammeds1992 May 2, 2023
1a67c50
ci(restapi): 🎉 cut release to restapi-v1.2.10
mohammeds1992 May 2, 2023
80248d0
ci(restapi): 🎉 cut release to restapi-v1.2.10
mohammeds1992 May 2, 2023
d7a80e1
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-beta.1
mohammeds1992 May 4, 2023
5fa8723
Add wallet to wallet video call methods (#309)
May 4, 2023
1fd79b1
fix: Merge branch 'deployment' into alpha-deployment
mohammeds1992 May 4, 2023
7aa9bff
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-beta.2
mohammeds1992 May 4, 2023
627c7f4
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-beta.2
mohammeds1992 May 4, 2023
87f08c5
Alpha deployment (#357)
mohammeds1992 May 4, 2023
477bae4
fix: Merge branch 'main' into alpha
mohammeds1992 May 4, 2023
69763b8
fix: added pagination and deprecation tag (#346)
Aman035 May 4, 2023
008e6d0
fix: eip191v2 signatures for create and auth.update (#353)
Aman035 May 4, 2023
4546a26
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 4, 2023
31daee3
fix: changed Definitions for auth.update and upgrade (#351)
Aman035 May 4, 2023
0126d71
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 4, 2023
0f44637
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.0
mohammeds1992 May 4, 2023
d39c703
fix: sendVideoNotification and end video call logic (#367)
May 8, 2023
1223c60
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 8, 2023
58a2221
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.1
mohammeds1992 May 8, 2023
4866a37
fix: merge main to alpha
mohammeds1992 May 8, 2023
3cb81d1
Modify video class (#379)
May 10, 2023
a5fdfe1
fix: merge main
mohammeds1992 May 10, 2023
7f0642c
fix: merge alpha
mohammeds1992 May 10, 2023
c126cc0
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.2
mohammeds1992 May 10, 2023
b90435a
fix: Replace arrow functions with normal functions in the Video class…
madhur-push May 11, 2023
e19b9b0
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 11, 2023
f298ecb
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.3
mohammeds1992 May 11, 2023
5fc51db
fix: Merge branch 'main' into alpha
mohammeds1992 May 12, 2023
83bf445
fix(video): separate react state from video class instance variable d…
madhur-push May 12, 2023
a1a8666
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 12, 2023
39c9c83
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.4
mohammeds1992 May 12, 2023
1fb8802
fix: url fix
mohammeds1992 May 14, 2023
91190a6
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.5
mohammeds1992 May 14, 2023
41baf05
fix: merge main to alpha
mohammeds1992 May 14, 2023
9c8c86b
fix: add video call retry logic upon error & doc: add video call in r…
madhur-push May 14, 2023
3ab4516
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.6
mohammeds1992 May 14, 2023
7441ef0
fix(video): remove status change upon connect in request (#394)
madhur-push May 15, 2023
37c1c8d
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 15, 2023
c4abb65
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.7
mohammeds1992 May 15, 2023
72464fd
fix: Merge branch 'main' into alpha
mohammeds1992 May 15, 2023
3d892f5
docs: add push video backend example (#396)
madhur-push May 16, 2023
0b609be
fix(video): set trickle to true while creating peer instance (#397)
madhur-push May 16, 2023
549fd83
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 16, 2023
262c06b
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.8
mohammeds1992 May 16, 2023
ae5b38e
fix(video): turn off trickle while creating peer instance (#398)
madhur-push May 16, 2023
469398d
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 16, 2023
598fc55
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.9
mohammeds1992 May 16, 2023
eda1a34
fix: added deprecated info to history (#399)
Aman035 May 17, 2023
46ebed2
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 17, 2023
89bd0fb
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.10
mohammeds1992 May 17, 2023
26f6fcb
revert(getverificationproof): add wallet and env params to getVerific…
madhur-push May 18, 2023
983c896
fix(video): remove stop audio/video logic from create function (#404)
madhur-push May 18, 2023
0cf573e
fix: changed additionalMeta structure (#406)
Aman035 May 19, 2023
925b437
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 19, 2023
cc559b1
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.11
mohammeds1992 May 19, 2023
f1880d8
fix: added enums
Aman035 May 19, 2023
05c8fa9
fix: fix versions
Aman035 May 19, 2023
9d2124a
fix(sendvideonotifications): modify additional meta acc to new std (#…
madhur-push May 19, 2023
3700515
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 19, 2023
e6aa247
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.12
mohammeds1992 May 19, 2023
5517200
fix(types): remove bad import
madhur-push May 19, 2023
68f11eb
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 19, 2023
f061935
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.11
mohammeds1992 May 19, 2023
85ef733
fix(video): fix enableAudio
madhur-push May 19, 2023
963cc02
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 19, 2023
9eafa70
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.12
mohammeds1992 May 19, 2023
fbf2463
fix: backward compatiblity fix
Aman035 May 19, 2023
3b5a0f1
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 19, 2023
5eb6c04
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.13
mohammeds1992 May 19, 2023
11fc1cf
docs: Update the enableVideo/Audio methods
madhur-push May 19, 2023
f247665
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 22, 2023
b576663
fix: merge main
mohammeds1992 May 22, 2023
8cdb999
fix: fix nft videocall (#411)
Aman035 May 22, 2023
713c5ff
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.14
mohammeds1992 May 22, 2023
067bc5d
fix: merged main to alpha
mohammeds1992 May 29, 2023
2fc6f54
fix: Iuser structure changed (#365)
Aman035 May 29, 2023
a66c9a4
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 May 29, 2023
fe852e2
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.15
mohammeds1992 May 29, 2023
3959345
fix: merge main
mohammeds1992 Jun 1, 2023
aea015a
fix: add spaces for functions (#307)
mohammeds1992 Jun 2, 2023
ad6a56b
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jun 2, 2023
706a1e5
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.16
mohammeds1992 Jun 2, 2023
f34bfa0
fix(video): fix error on repeated acceptRequest calls (#442)
madhur-push Jun 8, 2023
78c020a
fix: merge main
mohammeds1992 Jun 8, 2023
a9d8ff1
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jun 8, 2023
e07391f
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.17
mohammeds1992 Jun 8, 2023
27105a2
fix: merge main
mohammeds1992 Jun 13, 2023
64de06f
fix: Merge branch 'main' into alpha
mohammeds1992 Jun 20, 2023
10d62b1
fix: update path
mohammeds1992 Jun 20, 2023
b521522
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jun 20, 2023
9c22271
fix: add name to SpaceIFeeds
mohammeds1992 Jun 20, 2023
bb49185
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.18
mohammeds1992 Jun 20, 2023
0e34479
fix: rename based on new convention
mohammeds1992 Jul 3, 2023
6998d35
fix: merge main
mohammeds1992 Jul 3, 2023
a15e368
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 3, 2023
f905ad4
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.19
mohammeds1992 Jul 3, 2023
de2b120
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.19
mohammeds1992 Jul 3, 2023
8f80f8d
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.19
mohammeds1992 Jul 3, 2023
25f2725
fix: new commit
mohammeds1992 Jul 3, 2023
e66ac5c
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.20
mohammeds1992 Jul 3, 2023
6db7fc0
fix: spaces naming
mohammeds1992 Jul 6, 2023
46cf04e
fix: merged main
Aman035 Jul 7, 2023
2f4ad32
fix: merged main
Aman035 Jul 7, 2023
c05d024
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 7, 2023
81d2cc9
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.21
mohammeds1992 Jul 7, 2023
942cc65
fix: merged maain
Aman035 Jul 7, 2023
5c84e2f
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 7, 2023
61d15a7
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.22
mohammeds1992 Jul 7, 2023
6aad1b0
Add alpha version of Spaces SDK (#513)
madhur-push Jul 10, 2023
d66202d
fix: Merge branch 'main' into alpha
mohammeds1992 Jul 11, 2023
54c5721
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 11, 2023
15cb912
Spaces backend examples (#522)
mohammeds1992 Jul 11, 2023
e7f2d30
Spaces SDK alpha publish (#520)
madhur-push Jul 11, 2023
7b316ec
fix: Merge branch 'main' into alpha
mohammeds1992 Jul 11, 2023
b120e30
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 12, 2023
7893196
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.23
mohammeds1992 Jul 12, 2023
7255aed
Update README.md
mohammeds1992 Jul 12, 2023
899eb21
fix: rename chats to spaces
mohammeds1992 Jul 14, 2023
0581d15
ci(restapi): 🎉 cut beta release to restapi-v0.0.1-alpha.24
mohammeds1992 Jul 14, 2023
27c42b9
fix: spaces examples fixes
mohammeds1992 Jul 15, 2023
3519d39
fix: renamed spaces variables and removed some unused variables
mohammeds1992 Jul 16, 2023
d7e2cde
Update README.md
mohammeds1992 Jul 17, 2023
dfab492
fix: fixed merge conflicts
mishramonalisha76 Jul 17, 2023
e6fcac1
fix: merge main
mohammeds1992 Jul 17, 2023
064e10d
fix: space api
mohammeds1992 Jul 19, 2023
a71302b
fix: Merge branch 'alpha' into alpha-deployment
mohammeds1992 Jul 19, 2023
fe93d43
fix: Merge branch 'main' into alpha-deployment
mohammeds1992 Jul 19, 2023
5b7f2fc
fix: use SpaceIFeeds
mohammeds1992 Jul 20, 2023
00d91b1
fix: space feed API path fix
mohammeds1992 Jul 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions packages/restapi/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

# [1.4.0](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-1.3.9...restapi-1.4.0) (2023-07-17)
## [0.0.1-alpha.24](https://github.com/ethereum-push-notification-service/push-sdk/compare/restapi-0.0.1-alpha.23...restapi-0.0.1-alpha.24) (2023-07-14)


### Bug Fixes

* add tc fix null meta ([#502](https://github.com/ethereum-push-notification-service/push-sdk/issues/502)) ([6e48314](https://github.com/ethereum-push-notification-service/push-sdk/commit/6e48314c0e58989849f66a4ffe387d906623ef69))
* added messageObj and Meta Messages support ([#485](https://github.com/ethereum-push-notification-service/push-sdk/issues/485)) ([2769aa6](https://github.com/ethereum-push-notification-service/push-sdk/commit/2769aa6bb0da6e7a4d28fca6b481db6cc2958d47))
* added silent notifications ([#467](https://github.com/ethereum-push-notification-service/push-sdk/issues/467)) ([88bafe4](https://github.com/ethereum-push-notification-service/push-sdk/commit/88bafe49d489cfe399efa7166407a50574995b16))
* fix unable to decrypt case ([#527](https://github.com/ethereum-push-notification-service/push-sdk/issues/527)) ([ccdf532](https://github.com/ethereum-push-notification-service/push-sdk/commit/ccdf532517e50e40ae0d0645c6c836360152813f))


### Features

* chat widget component ([#386](https://github.com/ethereum-push-notification-service/push-sdk/issues/386)) ([93a8fd8](https://github.com/ethereum-push-notification-service/push-sdk/commit/93a8fd8b41831ab61931336044a8f66cb9453edd)), closes [#460](https://github.com/ethereum-push-notification-service/push-sdk/issues/460)
* rename chats to spaces ([899eb21](https://github.com/ethereum-push-notification-service/push-sdk/commit/899eb212af29e3a65541686d98927e37b97927c5))



Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pushprotocol/restapi",
"version": "1.4.0",
"version": "0.0.1-alpha.24",
"type": "commonjs",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/space/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export * from './addListeners';
export * from './removeListeners';
export * from './approve';
export * from './requests';

export {spaceFeed as space} from './spaceFeed';
export * from './Space'
46 changes: 46 additions & 0 deletions packages/restapi/src/lib/space/spaceFeed.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
import axios from 'axios';
import { getAPIBaseUrls, isValidETHAddress } from '../helpers';
import Constants, { ENV } from '../constants';
import { SpaceIFeeds } from '../types';
import { getSpaceInboxLists, getUserDID } from './../chat/helpers';

export const spaceFeed = async (options: {
account: string;
pgpPrivateKey?: string;
toDecrypt?: boolean;
env?: ENV;
recipient: string;
}): Promise<SpaceIFeeds> => {
const {
account,
pgpPrivateKey,
env = Constants.ENV.PROD,
toDecrypt = false,
recipient,
} = options || {};
const user = await getUserDID(account, env);
const recipientWallet = await getUserDID(recipient, env);
if (!isValidETHAddress(user)) throw new Error(`Invalid address ${user}`);
const API_BASE_URL = getAPIBaseUrls(env);
const apiEndpoint = `${API_BASE_URL}/v1/spaces/users/${user}/space/${recipientWallet}`;
try {
const response = await axios.get(apiEndpoint);
// If no chat between users, then returns {}
const space: SpaceIFeeds = response.data;
if (Object.keys(space).length !== 0) {
const [feed]: SpaceIFeeds[] = await getSpaceInboxLists({
lists: [space],
user,
toDecrypt,
pgpPrivateKey,
env,
});
return feed;
} else {
return space;
}
} catch (err) {
console.error(`[Push SDK] - API ${spaceFeed.name}: `, err);
throw Error(`[Push SDK] - API ${spaceFeed.name}: ${err}`);
}
};
Loading