fix: filter and download script

This commit is contained in:
Richard Ramos 2022-08-19 14:25:31 -04:00
parent b3a9a81aef
commit 98b7fb8bff
No known key found for this signature in database
GPG Key ID: BD36D48BC9FFC88C
4 changed files with 9 additions and 6 deletions

5
.gitignore vendored
View File

@ -63,4 +63,7 @@ android/keystores/debug.keystore
# generated by bob # generated by bob
lib/ lib/
tmp/ tmp/
android/libs/gowaku-sources.jar
android/libs/gowaku.aar
ios/Gowaku.xcframework

View File

@ -35,8 +35,8 @@ wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${SHA_F
if [ "$DOWNLOAD_ANDROID" = true ]; then if [ "$DOWNLOAD_ANDROID" = true ]; then
rm -f ${ANDROID_TAR} rm -f ${ANDROID_TAR}
wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${ANDROID_TAR}" wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${ANDROID_TAR}"
sha256sum --status --ignore-missing -c ${SHA_FILE}
if ! sha256sum --status --ignore-missing -c gowaku-0.1.0.sha256; then if ! sha256sum --status --ignore-missing -c ${SHA_FILE}; then
echo "checksum failed - verify download" echo "checksum failed - verify download"
exit 1 exit 1
fi fi
@ -49,7 +49,7 @@ if [ "$DOWNLOAD_IOS" = true ]; then
rm -f ${IOS_TAR} rm -f ${IOS_TAR}
wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${IOS_TAR}" wget "https://github.com/status-im/go-waku/releases/download/v${VERSION}/${IOS_TAR}"
if ! sha256sum --status --ignore-missing -c gowaku-0.1.0.sha256; then if ! sha256sum --status --ignore-missing -c ${SHA_FILE}; then
echo "checksum failed - verify download" echo "checksum failed - verify download"
exit 1 exit 1
fi fi

View File

@ -1 +1 @@
0.2.0 0.2.1

View File

@ -405,7 +405,7 @@ export function storeQuery(query: StoreQuery, peerID: String = "", ms: Number =
} }
export class FilterSubscription { export class FilterSubscription {
topic: String | null = null pubsubTopic: String | null = null
contentFilters: Array<ContentFilter> = Array() contentFilters: Array<ContentFilter> = Array()
} }