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

Deployment #1165

Merged
merged 187 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
4532c52
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 11, 2023
e78c2d1
ci(restapi): 🎉 cut release to restapi-v1.4.23
mohammeds1992 Oct 11, 2023
a3481d9
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 13, 2023
a0a84dc
ci(restapi): 🎉 cut release to restapi-v1.4.24
mohammeds1992 Oct 13, 2023
118ea49
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 16, 2023
f24875d
ci(restapi): 🎉 cut release to restapi-v1.4.25
mohammeds1992 Oct 16, 2023
d3c84f1
ci(restapi): 🎉 cut release to restapi-v1.0.0
mohammeds1992 Oct 16, 2023
5663f7a
ci(restapi): 🎉 cut release to restapi-v1.4.26
mohammeds1992 Oct 16, 2023
ecc05d9
fix: merge main
mohammeds1992 Oct 18, 2023
e73e6a4
ci(restapi): 🎉 cut release to restapi-v1.4.27
mohammeds1992 Oct 18, 2023
7e2db7a
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 19, 2023
7535f39
ci(restapi): 🎉 cut release to restapi-v1.4.28
mohammeds1992 Oct 19, 2023
7791cc9
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 20, 2023
772bb67
ci(uiweb): 🎉 cut release to uiweb-v1.1.15
mohammeds1992 Oct 20, 2023
a552b73
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 23, 2023
bf65326
ci(restapi): 🎉 cut release to restapi-v1.4.29
mohammeds1992 Oct 23, 2023
ab22b9d
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 26, 2023
564708b
ci(restapi): 🎉 cut release to restapi-v1.4.30
mohammeds1992 Oct 26, 2023
f6ab874
fix: Merge branch 'main' into deployment
mohammeds1992 Oct 26, 2023
e76acb6
ci(restapi): 🎉 cut release to restapi-v1.4.31
mohammeds1992 Oct 26, 2023
1dcd3d8
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 6, 2023
620929d
ci(restapi): 🎉 cut release to restapi-v1.4.32
mohammeds1992 Nov 6, 2023
f5c632e
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 7, 2023
18b58ba
ci(restapi): 🎉 cut release to restapi-v1.4.33
mohammeds1992 Nov 7, 2023
f30db09
fix: merge main
mohammeds1992 Nov 9, 2023
81f028d
ci(uiweb): 🎉 cut release to uiweb-v1.1.16
mohammeds1992 Nov 9, 2023
147dbb9
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 13, 2023
1b0060f
ci(restapi): 🎉 cut release to restapi-v1.4.34
mohammeds1992 Nov 13, 2023
ea555b3
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 14, 2023
1c522b0
fix: GroupMember type fix
mohammeds1992 Nov 14, 2023
f0ae882
ci(restapi): 🎉 cut release to restapi-v1.4.35
mohammeds1992 Nov 14, 2023
11cc496
fix: bump examples SDK version
mohammeds1992 Nov 14, 2023
39eed58
fix: stream test cases fix
mohammeds1992 Nov 14, 2023
0653e35
fix: merge conflict
mohammeds1992 Nov 14, 2023
c8cc0de
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 15, 2023
fae8686
ci(restapi): 🎉 cut release to restapi-v1.4.36
mohammeds1992 Nov 15, 2023
5dd8bbc
fix: fix conflict
mohammeds1992 Nov 15, 2023
371b63a
ci(socket): 🎉 cut release to socket-v0.5.3
mohammeds1992 Nov 15, 2023
ff625da
ci(uiweb): 🎉 cut release to uiweb-v1.1.17
mohammeds1992 Nov 15, 2023
3b71cff
ci(uiembed): 🎉 cut release to uiembed-v0.3.0
mohammeds1992 Nov 15, 2023
66287ab
fix: merge main
mohammeds1992 Nov 16, 2023
449de25
ci(restapi): 🎉 cut release to restapi-v1.4.37
mohammeds1992 Nov 16, 2023
bdc9c95
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 16, 2023
5e20376
ci(restapi): 🎉 cut release to restapi-v1.4.38
mohammeds1992 Nov 16, 2023
1c146be
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 16, 2023
4e6ee96
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 16, 2023
38e657a
ci(uiweb): 🎉 cut release to uiweb-v1.1.18
mohammeds1992 Nov 16, 2023
5baacc7
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 17, 2023
af4c4a9
ci(uiweb): 🎉 cut release to uiweb-v1.1.19
mohammeds1992 Nov 17, 2023
9668da5
ci(uiweb): 🎉 cut release to uiweb-v1.1.19
mohammeds1992 Nov 17, 2023
116d7ae
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 27, 2023
39ab6be
ci(restapi): 🎉 cut release to restapi-v1.4.39
mohammeds1992 Nov 27, 2023
f4cea93
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 28, 2023
eebbc31
ci(restapi): 🎉 cut release to restapi-v1.4.40
mohammeds1992 Nov 28, 2023
e9f6aa2
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 28, 2023
6959341
ci(restapi): 🎉 cut release to restapi-v1.4.41
mohammeds1992 Nov 28, 2023
b696884
fix: merge main
mohammeds1992 Nov 28, 2023
b7e8f17
ci(restapi): 🎉 cut release to restapi-v1.4.42
mohammeds1992 Nov 28, 2023
5eaf74f
fix: Merge branch 'main' into deployment
mohammeds1992 Nov 29, 2023
2c2e698
ci(restapi): 🎉 cut release to restapi-v1.4.43
mohammeds1992 Nov 29, 2023
9cf6169
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 1, 2023
a9196bc
ci(uiweb): 🎉 cut release to uiweb-v1.1.20
mohammeds1992 Dec 1, 2023
81f230e
ci(restapi): 🎉 cut release to restapi-v1.4.44
mohammeds1992 Dec 1, 2023
39f597b
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 4, 2023
9f87f1b
ci(uiweb): 🎉 cut release to uiweb-v1.1.21
mohammeds1992 Dec 4, 2023
751432b
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 4, 2023
bfe7d60
ci(restapi): 🎉 cut release to restapi-v1.4.45
mohammeds1992 Dec 4, 2023
c87581c
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 5, 2023
660ed2f
ci(uiweb): 🎉 cut release to uiweb-v1.1.22
mohammeds1992 Dec 5, 2023
a3591b6
fix: merge main
mohammeds1992 Dec 19, 2023
ea929e0
ci(restapi): 🎉 cut release to restapi-v1.5.0
mohammeds1992 Dec 19, 2023
7adb464
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 20, 2023
df877b8
ci(uiweb): 🎉 cut release to uiweb-v1.1.23
mohammeds1992 Dec 20, 2023
a18b345
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 22, 2023
a5b85a4
ci(restapi): 🎉 cut release to restapi-v1.5.1
mohammeds1992 Dec 22, 2023
af23f82
fix: Merge branch 'main' into deployment
mohammeds1992 Dec 26, 2023
e3834ce
ci(uiweb): 🎉 cut release to uiweb-v1.2.0
mohammeds1992 Dec 26, 2023
11a0801
add: ethers support (#952)
Aman035 Jan 2, 2024
40e5941
fix: fix ethers provider issue
Aman035 Jan 3, 2024
4bccf07
fix: fix channel.update
Aman035 Jan 3, 2024
90b26dd
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 4, 2024
74d4d39
ci(restapi): 🎉 cut release to restapi-v1.5.2
mohammeds1992 Jan 4, 2024
39300fc
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 4, 2024
5498580
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 4, 2024
57aaf3f
ci(restapi): 🎉 cut release to restapi-v1.5.3
mohammeds1992 Jan 4, 2024
d82102c
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 4, 2024
1a68a55
ci(restapi): 🎉 cut release to restapi-v1.5.4
mohammeds1992 Jan 4, 2024
ab80c60
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 8, 2024
a5bc149
ci(restapi): 🎉 cut release to restapi-v1.5.5
mohammeds1992 Jan 8, 2024
5d76487
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 9, 2024
a65b1f5
ci(restapi): 🎉 cut release to restapi-v1.5.6
mohammeds1992 Jan 9, 2024
98e8e86
fix: merge main
mohammeds1992 Jan 9, 2024
d5a8045
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 10, 2024
e693748
ci(restapi): 🎉 cut release to restapi-v1.5.7
mohammeds1992 Jan 10, 2024
d5ef9ce
fix: Merge branch 'main' into alpha
mohammeds1992 Jan 15, 2024
aacfea3
feat(video-v2): add video v2 class and stream (#930)
madhur-push Jan 15, 2024
a1852d4
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 15, 2024
b1bcd88
ci(uiweb): 🎉 cut release to uiweb-v1.2.1
mohammeds1992 Jan 15, 2024
7aad89c
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 15, 2024
60ae137
ci(restapi): 🎉 cut release to restapi-v1.6.0
mohammeds1992 Jan 15, 2024
798f355
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 15, 2024
560d682
ci(uiweb): 🎉 cut release to uiweb-v1.2.2
mohammeds1992 Jan 15, 2024
cbf296b
fix: merge main
mohammeds1992 Jan 15, 2024
73c548f
ci(restapi): 🎉 cut release to restapi-v1.6.1
mohammeds1992 Jan 15, 2024
a640714
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 16, 2024
6c421dd
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 16, 2024
04ab8e6
ci(uiweb): 🎉 cut release to uiweb-v1.2.3
mohammeds1992 Jan 16, 2024
8f02dcf
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 16, 2024
8e5824a
ci(uiweb): 🎉 cut release to uiweb-v1.2.4
mohammeds1992 Jan 16, 2024
171c48f
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 17, 2024
68c173c
ci(restapi): 🎉 cut release to restapi-v1.6.2
mohammeds1992 Jan 17, 2024
8f31de6
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 18, 2024
c131eb5
ci(restapi): 🎉 cut release to restapi-v1.6.3
mohammeds1992 Jan 18, 2024
2979e5a
fix: merge main
mohammeds1992 Jan 18, 2024
35039b5
Chat Preview List workable PoC (#987)
HarshRajat Jan 18, 2024
fe2a3c5
fix: changed stream type to any
mishramonalisha76 Jan 18, 2024
15c8488
fix: fixed issues on chatpreviewlist (#1044)
mishramonalisha76 Jan 19, 2024
85d862f
fix: added a dynamic component for no chatId (#1042)
mishramonalisha76 Jan 23, 2024
8046688
fix: changed pushUser to user (#1058)
mishramonalisha76 Jan 23, 2024
e57f0ee
Chatpreview bug (#1063)
mishramonalisha76 Jan 25, 2024
d1cbafb
fix: fixed minor limit bug (#1065)
mishramonalisha76 Jan 25, 2024
bbd583c
Bug fix (#1068)
mishramonalisha76 Jan 29, 2024
889cf29
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 29, 2024
6b4bf60
ci(restapi): 🎉 cut release to restapi-v1.6.4
mohammeds1992 Jan 29, 2024
ac17311
fix: Merge branch 'main' into deployment
mohammeds1992 Jan 30, 2024
35c983e
ci(uiweb): 🎉 cut release to uiweb-v1.2.5
mohammeds1992 Jan 30, 2024
64b8d97
Chatprofile (#1040)
mishramonalisha76 Jan 31, 2024
9961ab7
fix: fixed preview bugs (#1078)
mishramonalisha76 Feb 1, 2024
e051b80
Userprofile (#1084)
mishramonalisha76 Feb 1, 2024
78483d6
fix: removed console
mishramonalisha76 Feb 1, 2024
7be33d9
fix: fixed length issue in test
mishramonalisha76 Feb 1, 2024
fdf8e13
fix: fixed pagination bug
mishramonalisha76 Feb 2, 2024
a8332fc
fix: the messages disappearing on scroll (#1077)
pritipsingh Feb 2, 2024
abbc6ad
fix: fixed chat preview stream issues (#1085)
mishramonalisha76 Feb 2, 2024
9286ce8
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 5, 2024
e57eb42
ci(restapi): 🎉 cut release to restapi-v1.6.5
mohammeds1992 Feb 5, 2024
f856207
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 5, 2024
9717b18
ci(restapi): 🎉 cut release to restapi-v1.6.6
mohammeds1992 Feb 5, 2024
c9ddf4d
897 improvement proposal spaces high level functions (#898)
mohammeds1992 Feb 7, 2024
638b5d7
fix(restapi): build errors from spaces (#1098)
madhur-push Feb 8, 2024
d832ae3
feat(spaces v2): update space.initialize() param name, rename media()…
madhur-push Feb 8, 2024
be351df
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 8, 2024
1cd4512
ci(restapi): 🎉 cut release to restapi-v1.6.7
mohammeds1992 Feb 8, 2024
a193560
fix: media emoji added
pritipsingh Feb 8, 2024
1d4622c
fix: sending first message now shows in the inbox
pritipsingh Feb 8, 2024
478e451
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 9, 2024
b05e80e
ci(restapi): 🎉 cut release to restapi-v1.6.8
mohammeds1992 Feb 9, 2024
49d6bfc
fix: for requests for receivers
pritipsingh Feb 9, 2024
2b4fbce
Merge pull request #1106 from ethereum-push-notification-service/medi…
HarshRajat Feb 9, 2024
c695c18
fix: added notification widget layout (#1076)
mishramonalisha76 Feb 13, 2024
658db3c
Alpha deployment (#1112)
mishramonalisha76 Feb 13, 2024
ae6934f
fix: merge main to alpha
mohammeds1992 Feb 13, 2024
bc1ade0
Alpha deployment (#1114)
mishramonalisha76 Feb 13, 2024
ca38a40
Alpha deployment (#1116)
mishramonalisha76 Feb 19, 2024
b7305b3
1119 read only mode bug fix (#1120)
mohammeds1992 Feb 21, 2024
9c6383c
Alpha deployment (#1121)
mishramonalisha76 Feb 21, 2024
e5f598e
fix: merged main
Aman035 Feb 22, 2024
523bfb8
Mark ethers optional (#1124)
Aman035 Feb 26, 2024
aa6667e
fix: Merge branch 'main' into deployment
mohammeds1992 Feb 28, 2024
e4d6929
ci(restapi): 🎉 cut release to restapi-v1.6.9
mohammeds1992 Feb 28, 2024
8b00609
fix: added prefillChatList (#1122)
mishramonalisha76 Feb 28, 2024
841a2b7
fix: fixed minor issue
mishramonalisha76 Feb 29, 2024
3bf3bf0
Alpha deployment (#1132)
mishramonalisha76 Feb 29, 2024
3111be5
Minor changes in spaces v2 SDK (#1136)
madhur-push Mar 2, 2024
370e2f2
fix: Merge branch 'main' into alpha
mohammeds1992 Mar 2, 2024
05a897e
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 2, 2024
58d79ff
ci(restapi): 🎉 cut release to restapi-v1.6.10
mohammeds1992 Mar 2, 2024
ebbfc9c
Alpha deployment (#1134)
mishramonalisha76 Mar 5, 2024
0ea4e02
fix: stream connection support chat + pushUser to user fix (#1066)
pritipsingh Mar 5, 2024
44b0253
Alpha deployment (#1146)
mishramonalisha76 Mar 5, 2024
4e40221
fix: z-index modal (#1152)
pritipsingh Mar 6, 2024
ad47344
Revert "fix: z-index modal (#1152)" (#1153)
mishramonalisha76 Mar 6, 2024
71c5b0d
Fix role change stream event (#1157)
Aman035 Mar 7, 2024
dd88465
fix: Merge branch 'main' into alpha
mohammeds1992 Mar 7, 2024
b6c6f19
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 7, 2024
a162682
ci(restapi): 🎉 cut release to restapi-v1.6.11
mohammeds1992 Mar 7, 2024
25b30c8
fix: merge main
mohammeds1992 Mar 8, 2024
0740d4e
ci(uiweb): 🎉 cut release to uiweb-v1.2.6
mohammeds1992 Mar 8, 2024
d902ded
fix: pulled main
mishramonalisha76 Mar 8, 2024
b4305dc
Added channel.list API (#1160)
HarshRajat Mar 11, 2024
5c74c0f
fix: Merge branch 'alpha' into deployment
mohammeds1992 Mar 11, 2024
c0bd72e
ci(restapi): 🎉 cut release to restapi-v1.7.0
mohammeds1992 Mar 11, 2024
47a0426
ci(uiweb): 🎉 cut release to uiweb-v1.2.7
mohammeds1992 Mar 11, 2024
0f448dd
fix: Merge branch 'main' into deployment
mohammeds1992 Mar 13, 2024
0eab986
ci(restapi): 🎉 cut release to restapi-v1.7.1
mohammeds1992 Mar 13, 2024
2cbb86b
fix: some types are fixed
mohammeds1992 Mar 13, 2024
c57951c
ci(restapi): 🎉 cut release to restapi-v1.7.2
mohammeds1992 Mar 13, 2024
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
3 changes: 3 additions & 0 deletions .husky/post-checkout
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-checkout' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-checkout "$@"
3 changes: 3 additions & 0 deletions .husky/post-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-commit' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-commit "$@"
3 changes: 3 additions & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'post-merge' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
git lfs post-merge "$@"
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
echo "\nRunning GIT hooks..."
yarn cleanbuild
yarn nx affected --target=lint
yarn nx affected --target=test
#yarn nx affected --target=test
873 changes: 873 additions & 0 deletions packages/restapi/CHANGELOG.md

Large diffs are not rendered by default.

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": "0.0.1-alpha.72",
"version": "1.7.2",
"type": "commonjs",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/addAdmins.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ALPHA_FEATURE_CONFIG } from '../config';
import Constants, { PACKAGE_BUILD } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { EnvOptionsType, SignerType, GroupInfoDTO } from '../types';
import {
GroupMemberUpdateOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/addMembers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ALPHA_FEATURE_CONFIG } from '../config';
import Constants, { PACKAGE_BUILD } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { EnvOptionsType, SignerType, GroupInfoDTO } from '../types';
import { updateGroupMembers } from './updateGroupMembers';
import { GroupMemberUpdateOptions } from './updateGroupMembers';
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/approveRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as AES from '../chat/helpers/aes';
import { getGroupInfo } from './getGroupInfo';
import { getAllGroupMembersPublicKeys } from './getAllGroupMembersPublicKeys';
import { ALPHA_FEATURE_CONFIG } from '../config';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface ApproveRequestOptionsType extends EnvOptionsType {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Constants, { ENV } from '../constants';
import { IFeeds } from '../types';
import { axiosGet } from '../utils/axiosUtil';
import { PGPHelper, addDeprecatedInfo, getInboxLists, getUserDID } from './helpers';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export const chat = async (options: {
account: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/chats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Constants, { ENV } from '../constants';
import { IFeeds } from '../types';
import { getInboxLists, getUserDID, addDeprecatedInfo, IPGPHelper, PGPHelper } from './helpers';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export type ChatsOptionsType = {
account: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/conversationHash.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Constants from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { isValidETHAddress } from '../helpers';
import { ConversationHashOptionsType } from '../types';
import { getConversationHashService, getUserDID } from './helpers';
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/createGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from './helpers';
import * as CryptoJS from 'crypto-js';
import { axiosPost } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface ChatCreateGroupType extends EnvOptionsType {
account?: string | null;
Expand Down
4 changes: 2 additions & 2 deletions packages/restapi/src/lib/chat/createGroupV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ import {
ValidationError,
handleError,
isErrorWithResponse,
} from '../errors/ValidationError';
} from '../errors/validationError';
import { axiosPost } from '../utils/axiosUtil';
import { HttpStatus } from '../errors/HttpStatus';
import { HttpStatus } from '../errors/httpStatus';

export interface ChatCreateGroupTypeV2 extends EnvOptionsType {
account?: string | null;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getChatInfo.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { getUserDID } from './helpers';

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { GroupDTO } from '../types';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/groups/:chatId
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Constants, { ENV } from '../constants';
import { GroupAccess } from '../types';
import { getUserDID } from './helpers';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/groups/:chatId/access/:did
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupByName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
GroupDTO
} from '../types';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';


/**
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { GroupDTO, GroupInfoDTO } from '../types';
import { GetGroupType } from './getGroup';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v2/chat/groups/:chatId
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupMemberCount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { ChatMemberCounts } from '../types';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/:chatId/members/count
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupMemberStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Constants, { ENV } from '../constants';
import { GroupMemberStatus } from '../types';
import { getUserDID } from './helpers';
import { axiosGet } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/groups/:chatId/access/:did
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupMembers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios from 'axios';
import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { ChatMemberProfile } from '../types';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/:chatId/members
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/getGroupMembersPublicKeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { ChatMemberCounts, ChatMemberProfile } from '../types';
import { FetchChatGroupInfoType } from './getGroupMembers';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* GET /v1/chat/:chatId/members/public/keys
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/historicalMessages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Constants from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { pCAIP10ToWallet } from '../helpers';
import { AccountEnvOptionsType, IMessageIPFS } from '../types';
import { get } from '../user';
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/ipfs.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Constants, { ENV } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { getAPIBaseUrls } from '../helpers';
import { axiosGet } from '../utils/axiosUtil';

Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/modifyRole.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ALPHA_FEATURE_CONFIG } from '../config';
import Constants, { PACKAGE_BUILD } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { EnvOptionsType, SignerType, GroupInfoDTO } from '../types';
import {
GroupMemberUpdateOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/rejectRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from './helpers';
import * as CryptoJS from 'crypto-js';
import { axiosPut } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

interface RejectRequestOptionsType extends EnvOptionsType {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/removeAdmins.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ALPHA_FEATURE_CONFIG } from '../config';
import Constants, { PACKAGE_BUILD } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { EnvOptionsType, SignerType, GroupInfoDTO } from '../types';
import {
GroupMemberUpdateOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/removeMembers.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ALPHA_FEATURE_CONFIG } from '../config';
import Constants, { PACKAGE_BUILD } from '../constants';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';
import { EnvOptionsType, SignerType, GroupInfoDTO } from '../types';
import {
GroupMemberUpdateOptions,
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Constants, { ENV } from '../constants';
import { IFeeds } from '../types';
import { axiosGet } from '../utils/axiosUtil';
import { IPGPHelper, PGPHelper, addDeprecatedInfo, getInboxLists, getUserDID } from './helpers';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export type RequestOptionsType = {
account: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/searchGroups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getAPIBaseUrls } from '../helpers';
import Constants, { ENV } from '../constants';
import { GroupDTO } from '../types';
import { axiosPost } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* POST /v1/chat/groups/search
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { MessageObj } from '../types/messageTypes';
import { validateMessageObj } from '../validations/messageObject';
import { axiosPost } from '../utils/axiosUtil';
import { getGroupInfo } from './getGroupInfo';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

/**
* SENDS A PUSH CHAT MESSAGE
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/updateGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { axiosPut } from '../utils/axiosUtil';
import { getGroup } from './getGroup';
import * as AES from '../chat/helpers/aes';
import { getGroupMemberStatus } from './getGroupMemberStatus';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface ChatUpdateGroupType extends EnvOptionsType {
account?: string | null;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/updateGroupConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ChatStatus, EnvOptionsType, GroupInfoDTO, SignerType } from '../types';
import { sign, getWallet, getConnectedUserV2 } from './helpers';
import * as CryptoJS from 'crypto-js';
import { axiosPut } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface ChatUpdateConfigProfileType extends EnvOptionsType {
account?: string | null;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/updateGroupMembers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as AES from '../chat/helpers/aes';
import { getAllGroupMembersPublicKeys } from './getAllGroupMembersPublicKeys';
import { ALPHA_FEATURE_CONFIG } from '../config';
import { axiosPut } from '../utils/axiosUtil';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface GroupMemberUpdateOptions extends EnvOptionsType {
chatId: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/chat/updateGroupProfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import * as CryptoJS from 'crypto-js';
import { axiosPut } from '../utils/axiosUtil';
import { getGroupInfo } from './getGroupInfo';
import { handleError } from '../errors/ValidationError';
import { handleError } from '../errors/validationError';

export interface ChatUpdateGroupProfileType extends EnvOptionsType {
account?: string | null;
Expand Down
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/errors/validationError.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { HttpStatus } from './HttpStatus';
import { HttpStatus } from "./httpStatus";

export class ValidationError extends Error {
status: HttpStatus;
Expand Down
5 changes: 2 additions & 3 deletions packages/restapi/tests/loaders/envVerifier.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// Load FS and Other dependency
import * as fs from 'fs'
import * as envfile from 'envfile'
import * as readline from 'readline'

export default async () => {
try {
/* try {
// Load environment files
const envpath = `${__dirname}/../.env`
const envsamplepath = `${__dirname}/../.env.sample`
Expand Down Expand Up @@ -77,5 +76,5 @@ export default async () => {
} catch (e) {
console.log(' Error on env verifier loader: %o ', e)
throw e
}
}*/
}
9 changes: 9 additions & 0 deletions packages/socket/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

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

## [0.5.3](https://github.com/ethereum-push-notification-service/push-sdk/compare/socket-0.5.2...socket-0.5.3) (2023-11-15)


### Bug Fixes

* shift testnet env to sepolia ([#473](https://github.com/ethereum-push-notification-service/push-sdk/issues/473)) ([12f1392](https://github.com/ethereum-push-notification-service/push-sdk/commit/12f1392a4f4e800f720a0c2c34822bf502f15dac))



## [0.5.2](https://github.com/ethereum-push-notification-service/push-sdk/compare/socket-0.5.1...socket-0.5.2) (2023-08-03)


Expand Down
2 changes: 1 addition & 1 deletion packages/socket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pushprotocol/socket",
"version": "0.5.2",
"version": "0.5.3",
"type": "commonjs",
"deprecated": "This package will be deprecated in future releases. Please migrate to @pushprotocol/restapi (https://www.npmjs.com/package/@pushprotocol/restapi).",
"publishConfig": {
Expand Down
14 changes: 14 additions & 0 deletions packages/uiembed/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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

# [0.3.0](https://github.com/ethereum-push-notification-service/push-sdk/compare/uiembed-0.2.0...uiembed-0.3.0) (2023-11-15)


### Bug Fixes

* shift testnet env to sepolia ([#473](https://github.com/ethereum-push-notification-service/push-sdk/issues/473)) ([12f1392](https://github.com/ethereum-push-notification-service/push-sdk/commit/12f1392a4f4e800f720a0c2c34822bf502f15dac))


### Features

* added Optimism Chain ([#221](https://github.com/ethereum-push-notification-service/push-sdk/issues/221)) ([a9f6e56](https://github.com/ethereum-push-notification-service/push-sdk/commit/a9f6e56f51ac6eb089ddeffd6c47f144b9b28dd8))



# [0.2.0](https://github.com/ethereum-push-notification-service/push-sdk/compare/uiembed-0.1.3...uiembed-0.2.0) (2023-01-13)


Expand Down
2 changes: 1 addition & 1 deletion packages/uiembed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pushprotocol/uiembed",
"version": "0.2.0",
"version": "0.3.0",
"type": "commonjs",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand Down
Loading
Loading