Skip to content

Commit 092e9e7

Browse files
committed
Add client state and timeout management commands
1 parent e7d7049 commit 092e9e7

34 files changed

Lines changed: 259 additions & 2061 deletions

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: clean build build-all package package-all publish publish-all
22
# Variables
3-
VERSION = 0.0.33
3+
VERSION = 0.0.34
44
NUGET_API_KEY ?= $(NUGET_API_KEY)
55
PS_API_KEY := $(PS_API_KEY)
66
MAVEN_AUTH := $(shell echo "$(MAVEN_USERNAME):$(MAVEN_PASSWORD)" | base64)
@@ -36,13 +36,16 @@ bump:
3636
# Clean up backup files created by sed
3737
@find . -name "*.bak" -type f -delete
3838

39-
# Update version in pom.xml files (C# project files)
39+
# Update version in pom.xml files (java project files)
4040
# @find java -name "pom.xml" -exec sed -i 's/<version>[0-9]\+\.[0-9]\+\.[0-9]\+<\/version>/<version>$(VERSION)<\/version>/' {} \;
4141
@find java -name "pom.xml" -exec sed -i '/<artifactId>client<\/artifactId>/{n;s/<version>[0-9]\+\.[0-9]\+\.[0-9]\+<\/version>/<version>${VERSION}<\/version>/}' {} \;
4242

4343
# Update version in conanfile.py (conan package manager)
4444
@find c -name "*.py" -exec sed -i 's/version = "[0-9]\+\.[0-9]\+\.[0-9]\+"/version = "$(VERSION)"/' {} \;
4545

46+
# Update version in openiap.psd1 (powershell module)
47+
@find c -name "*.psd1" -exec sed -i "s/\$OpenIapVersion = '[0-9]\+\.[0-9]\+\.[0-9]\+'/\$OpenIapVersion = '$(VERSION)'/" {} \;
48+
4649
@echo "Version bump completed to $(VERSION)"
4750

4851
# Clean up
@@ -76,8 +79,7 @@ build-linux:
7679
cp target/aarch64-unknown-linux-musl/release/openiap target/cli/linux-arm64-musl-openiap
7780

7881
cp crates/clib/clib_openiap.h php/src/clib_openiap.h
79-
cp crates/clib/clib_openiap.h java/src/main/java/io/openiap/clib_openiap.h
80-
cp crates/clib/clib_openiap.h c/clib_openiap.h
82+
cp crates/clib/clib_openiap.h c/include/clib_openiap.h
8183
cp crates/clib/clib_openiap.h go/clib_openiap.h
8284

8385
build-macos:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ node test.js
4747
python
4848
```bash
4949
cd python
50-
pip uninstall openiap -y && pip install dist/openiap-0.0.33-py3-none-any.whl && python test.py
50+
pip uninstall openiap -y && pip install dist/openiap-0.0.34-py3-none-any.whl && python test.py
5151

5252
```
5353
dotnet

0 commit comments

Comments
 (0)